Category: A ll Codes
Encapsulation is one of the four fundamental OOP concepts.The other three are inheritance,polymorphism and abstraction. it is…
In OOP abstraction is a process of hiding the implementation details from the use, only the functionality…
Polymorphism the most common use of OOP occurs when a parent class reference is used to refer…
If subclass has the same method s declared in the parent class, it is known as method…
The classs which inherits the properties of other is known as subclass(derived class,child class etc.) and the…
Syntax: class Java_Outer_Class{ //code class Java_Inner_Class_Or_Nested Class{ //code } } 1) Nested classes represents a special type…
Recent Comments