0% found this document useful (0 votes)
4 views2 pages

Concepts to Study Java

The document outlines key concepts of Object-Oriented Programming (OOP) including Class & Object, Encapsulation, Inheritance, Polymorphism, and Abstraction. It also addresses important topics such as constructors, access modifiers, exception handling, and the differences between various data structures. Additionally, it provides a study plan for mastering these concepts through theory and practical programming exercises.

Uploaded by

parasharayush71
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Concepts to Study Java

The document outlines key concepts of Object-Oriented Programming (OOP) including Class & Object, Encapsulation, Inheritance, Polymorphism, and Abstraction. It also addresses important topics such as constructors, access modifiers, exception handling, and the differences between various data structures. Additionally, it provides a study plan for mastering these concepts through theory and practical programming exercises.

Uploaded by

parasharayush71
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

| Concept | Explanation |

| ----------------------------------- | --------------------------------------------------------------------------
---------------- |
| **Class & Object** | Blueprint vs Instance
|
| **Encapsulation** | Binding data and code into one unit (e.g., `private` variables
+ `public` getters/setters) |
| **Inheritance** | Reusing parent class properties/methods
|
| **Polymorphism** | Method Overloading (compile-time) + Overriding (run-
time) |
| **Abstraction** | Hiding implementation details using **abstract classes** or
**interfaces** |
| **Interface** | A contract – all methods are `public abstract` by default
|
| **Constructor** | Special method invoked during object creation
|
| **Constructor Overloading** | Multiple constructors in same class
|
| **Access Modifiers** | `private`, `protected`, `public`, and default
|
| **Final, Static, This, Super** | Keywords with different use cases
|
| **Exception Handling** | `try-catch-finally`, `throws`, custom exceptions
|
| **Packages & Import** | Organizing classes in namespaces
|
| **Garbage Collection & finalize()** | Memory cleanup process
|
| **AWT (Abstract Window Toolkit)** | GUI framework for Java
|

• What is the difference between == and .equals()?

• What are default values of instance variables?

• Can a class implement multiple interfaces?

• What is the use of this and super?

• What is the difference between abstract class and interface?

• What happens if main method is missing?

• Can you override static methods?

• What is method hiding?

• What is difference between ArrayList and HashSet?


• Explain access modifiers in real use cases.

• What is the difference between == and .equals()?

• What are default values of instance variables?

• Can a class implement multiple interfaces?

• What is the use of this and super?

• What is the difference between abstract class and interface?

• What happens if main method is missing?

• Can you override static methods?

• What is method hiding?

• What is difference between ArrayList and HashSet?

• Explain access modifiers in real use cases.

Time What to Do
1 hour Theory of OOPs + Keywords (static, final, this, super)
1.5 hours Go through Programs 1-10 thoroughly with concepts
1 hour Programs 11-17 – focus on advanced features (AWT, file, exception)
30 mins Review Viva Questions & mock yourself aloud
30 mins Write or explain any 3-5 full programs without looking

You might also like