Here is the index for Java OOPS concepts
OOPS Concepts
- OOPS Principle in Java
- Various ways to create Object in Java – 4 ways
- Declaration, Definition, Initialization and Instantiation, Instance of class
Method Overloading and Overriding
- Java Overriding: Widening and narrowing for access modifier, return type and exception handling
- Method Overloading in Java
- Method Overriding v/s Method Overloading in Java
- Interview Question and Answers on Java Method Overriding
- Interview Question and Answers on Java Method Overloading
Constructor
- Constructor with example
- Default Constructor with example
- Parametrized Constructor with example
- Default constructor v/s Parametrized constructor
Constructor Overloading
Constructor Chaining
Constructor Questions
- Method v/s Constructor
- Private Constructor
- Static Constructor – A big interview question ?
- Interview Question and Answers on Java Constructor
Interface in Java 8
- Constructor in Interface – A tricky question post Java 8 release
- Java 8: default and static methods in Interface
- Interview Question and Answers on Java Interface
- Java 8: Interface interview question and answers
Initialization Blocks
- Initialization blocks
- Constructors, Initialization blocks and their execution order
- Static Initialization blocks v/s Instance Initialization blocks
- Why the execution order of Constructor and Initialization blocks is pre-defined?
Abstract Classes and Methods
- Abstract classes and methods with example
- Interview Question and Answers on Java Abstract Classes & Methods
- Interface v/s Abstract Classes
Java Keywords
- instanceof operator or keyword
- final keyword
- static keyword
- this keyword
- super keyword
- Interview Question and Answers on final keyword in Java
Design Patterns
- Singleton design pattern – restricting all 4 ways of Object creation in Java
- How to construct an immutable class in Java
Suggest tutorials from Contact Us page