FEATURES OF JAVA
1) SUPPORTS 100% OBJECT ORIENTED PROGRAMMING LANGUAGE
2)BASIC FEATURES ARE
1) SUPPORTS 100% OBJECT ORIENTED PROGRAMMING LANGUAGE
2)BASIC FEATURES ARE
- INHERITANCE : inherting the features of one class into the other class
- CLASS :- collection of data members and member functions
- OBJECT : instance of class that is created to access the class members.
- ACCESS MODIFIERS:- public, private, protected, default
- ENCAPSULATION:- wrapping up of data into sigle unit e.g. class
- INTERFACE :- it is like a class in which only members are declared that can be used in class
- DATA HIDING :- Hiding some of the dtaa or features by giving access modifier
- ABSTRACTION :- data hiding is abstraction
- POLYMORPHISM :- many forms e.g. function overloading, function overriding
No comments:
Post a Comment