Java Techies- Solution for All
OOP'S In Java
Java is a Object Oriented Programming Language. Object Oriented programming works on object instead of functions.
Learn More ... |
OOP'S has many advantages over procedural programming.
Procedural programming uses functions whereas OOP'S uses objects. OOP'S allow code reusability but not by procedural programming.
Learn More ... |
1.3 OOP'S Principals |
1.3.1 EncapsulationBinding "Data and Method" into a single unit.
Learn More ... |
1.3.2 AbstractionWorking on the essential things and to forget the things which are not essential for us.
Learn More ... |
1.3.3 InheritanceUsed to show parent - child relationship like one class inheriting the features of the other classes. It provides code reusablility if used wisely.
Learn More ... |
1.3.4 Polymorphismone thing having several forms.
Learn More ... |
1.3.5 Class and ObjectClass is a blueprint for providing state and behavior to instances.
Object is an instance of a class. When JVM encounters the new keyword, it will use the same class to make an object. Learn More ... |
Instance Members are the variables that are globally define in the class
Class Methods are the methods which are define inside the class. Learn More ... |
Here You can see how class and objects are created.
Learn More ... |
Here you can see how the Heap size is occupied in the memory.
Learn More ... |
Since JDK 1.5 Java have a new feature to get size of the Object. Learn More ... |
Here are some examples for Class, Object and Instance Members. |