Skip to main content

Posts

Showing posts from June, 2020

Object Oriented Programming In Java(OOPS)

1. Data Hiding  2. Abstraction 3. Encapsulation 4. Tightly Encapsulated Class   5. IS-A Relationship(Inheritance)  o Multiple inheritance  o Cyclic inheritance 6. HAS-A Relationship  o Composition o Aggregation 7. Method Signature 8. Polymorphism o Overloading  Automatic promotion in overloading o Overriding  Rules for overriding  Checked Vs Un-checked Exceptions  Overriding with respect to static methods  Overriding with respect to Var-arg methods  Overriding with respect to variables  Differences between overloading and overriding ? o Method Hiding 9. Static Control Flow o Static control flow parent to child relationship o Static block 10. Instance Control Flow o Instance control flow in Parent to Child relationship 11. Constructors o Constructor Vs instance block  o Rules to write constructors o Default constructor o Prototype of default constructor o super() vs this():  o Overloaded constructors o Recursive...