Java is a high level, robust, object-oriented and secure programming language.
- Developed by Sun Microsystems, in 1995
- James Gosling → Father of JAVA
- Previous Name of JAVA → Oak
CODEs
OOPs Concept
- Class - basic template / blueprint / object constructor for creating objects, user defined var. , collection of var. and methods.
- Object - basic run-time entity, instance of class
- Inheritance - properties of one class can be inherited into others.
- Abstraction - displays only the information needed and hides the unnecessary information.
- Encapsulation - wrapping data and function/methods into single unit/class.
- Polymorphism - ability to take more than one form.
Difference between JAVA and C++