Author Archives: Stanislav_Panteleev

JVM.JRE is removed in versions after 11

🗑️ What Happened to the JRE? Before Java 11 You could download either: ✅ JDK (for development)✅ JRE (for just running programs — without compiler/tools)

Posted in Без рубрики | Comments Off on JVM.JRE is removed in versions after 11

Java.Core.What is the difference between JDK, JRE, and JVM?

📦 1️⃣ JVM (Java Virtual Machine) What is it? ✅ The JVM is the heart of Java.✅ It’s responsible for actually executing the bytecode (the compiled .class files).✅ The JVM is platform-dependent (each OS has its own implementation), but the … Continue reading →

Posted in Без рубрики | Comments Off on Java.Core.What is the difference between JDK, JRE, and JVM?

OOP.What is static and dynamic binding?

Understanding static binding and dynamic binding is crucial for mastering method calls and polymorphism in Object-Oriented Programming, especially in languages like Java.

Posted in Без рубрики | Comments Off on OOP.What is static and dynamic binding?

OOP.What is the difference between composition and aggregation?

This is one of the most common areas of confusion when learning about object-oriented relationships. Let me break it down for you in a clear and practical way.

Posted in Без рубрики | Comments Off on OOP.What is the difference between composition and aggregation?

OOP.What do the expressions “is” and “has” mean in terms of OOP principles?

The expressions “is” and “has” are super important when designing object-oriented systems. They help you decide how classes and objects relate to each other — and this directly ties into Inheritance and Composition, two fundamental OOP techniques.

Posted in Без рубрики | Comments Off on OOP.What do the expressions “is” and “has” mean in terms of OOP principles?

OOP.What are the advantages and disadvantages of the object-oriented approach to programming?

✅ Advantages of Object-Oriented Programming 1️⃣ Encapsulation — Data Hiding & Controlled Access Objects hide internal state and expose only necessary operations. This reduces the risk of accidental changes to internal data. Example: A BankAccount class hides its balance and … Continue reading →

Posted in Без рубрики | Comments Off on OOP.What are the advantages and disadvantages of the object-oriented approach to programming?

JVM.If i will keep huge objects in static fields how JVM woul behave ?

💣 What Happens if You Store Huge Objects in Static Fields? 🔗 First, What are Static Fields? Static fields belong to the class itself, not to any individual object. They live in the Method Area (part of Metaspace in modern … Continue reading →

Posted in Без рубрики | Comments Off on JVM.If i will keep huge objects in static fields how JVM woul behave ?

OOP.In which parts of JVM Memory class, object, interface stored?

Let’s walk through how classes, objects, and interfaces are stored in the JVM memory model — this is important not just for OOP understanding, but also for performance tuning and debugging.

Posted in Без рубрики | Comments Off on OOP.In which parts of JVM Memory class, object, interface stored?

OOP.Explain the main concepts of OOP: “class”, “object”, “interface”.

📚 1. Class What is a Class? A class is a blueprint or template for creating objects. It defines: ✅ Attributes (fields or properties — data that the object will have)✅ Methods (behavior — what the object can do)

Posted in Без рубрики | Comments Off on OOP.Explain the main concepts of OOP: “class”, “object”, “interface”.

OOP.Messaging

📩 What is Messaging in OOP? Messaging refers to objects communicating with each other by calling each other’s methods. In other words, one object sends a message to another object to request some behavior (or action).

Posted in Без рубрики | Comments Off on OOP.Messaging