OOPS :- Class Object Inheritance Polymorphism Data Abstraction Encapsulation Class :- Class is a collection of data member , member function or collection of object. class = Data variable + Symbol + member function. Object:- Object is nothing but run time instance of the class Object is a real world entity by which we can access the features (Data variables and member functions) Object:- Wrapping or binding of data variables or member function inside a class known as Encapsulation
Object - Oriented Object-oriented means we organize our software as a combination of different type of object that incorporates both data and behavior. Object oriented programming (OOPs) is a methodology that simplify software development and maintenance by providing some rules. Basic concept of OOPs :- Object Class Inheritance Polymorphism Abstraction Encapsulation Platform-Independent A platform is the hardware and software environment in which a program runs. There are two types of platform software-based and hardware-based. Java provide software-based platform. The java platform differ from most other platform in the sense that is a software-based platform that runs on the top of other hardware based platforms. Its has two components. Running Environment API (Application programming interface) Java code can be run on multiple platform. Eg., windows,Linux, Sun Solaris, Mac/os ETC. Java code is compiled by the compiler and converted ...