Posts

Java Unit 5

https://drive.google.com/file/d/1DHpedjA1UMqnuCfCQTFwaNo5pg_Pm41w/view?usp=drive_link  

Java Unit 4

https://drive.google.com/file/d/12BmtTjbV6zDI0tnM35G21GxMNNhX7pRP/view?usp=drive_link  

Java Unit 3

https://drive.google.com/file/d/1kQeb0uh3wY0PzIJcSJdRUt6LMHhrNe3F/view?usp=drive_link  

Java Unit 2

https://drive.google.com/file/d/1n3p5AdvS1CJq0eDjN45J5gwMUzXNn9u3/view?usp=drive_link  

Java Unit 1

  https://drive.google.com/file/d/1cyafVo1H4nBMDWb-vx22wzHn_cMArnXm/view?usp=drive_link

Unit 3 - CSE B

Image
  Java Inheritance   ( ‘ IS-A ’ relationship)   It is a mechanism in which one object acquires all the properties and behaviors of a parent object.    Why use inheritance? For  Method Overriding  (so  runtime polymorphism  can be achieved). For Code Reusability.   Terms used in Inheritance Super Class/ Parent Class/Base Class:  Superclass is the class from where a subclass inherits the features. Sub Class/ Child Class / Derived Class:  Subclass is a class which inherits the other class. It is also called a derived class, extended class, or child class.   Ex:- Class A {   } Class B extends A {   }   class A {                  void hello()                 {  ...