Category: Language

19
Jan
2016

Java Tut – Interface

Interface is a collection of abstract methods.A class implements an interface, thereby inheriting the abstract method of…

19
Jan
2016

Java Tut – Aggregation/HAS-A relationship

code: class Operation{ int square(int n){ return n*n; } } class Circle{ Operation op;//aggregation double pi=3.14; double…

19
Jan
2016

Java Tut – Encapsulation

Encapsulation is one of the four fundamental OOP concepts.The other three are inheritance,polymorphism and abstraction. it is…

19
Jan
2016

Java Tut – Abstraction

In OOP abstraction is a process of hiding the implementation details from the use, only the functionality…

18
Jan
2016

Java Tut – Polymorphism

Polymorphism the most common use of OOP occurs when a parent class reference is used to refer…

18
Jan
2016

Java Tut – Method Overriding

If subclass has the same method s declared in the parent class, it is known as method…