Java Basics

Object:- It is a memory reference of a class. Realtime entity/Physical Entity Class:- Collection of objects ex(Files) Logical Entity Inheritance:- Inheritance is a mechanism in which one class acquires the property of another class. For example, a child inherits the traits of his/her parents. With inheritance, we can reuse the fields and methods of theContinue reading “Java Basics”

Create your own website, free on WordPress.com.Create your own website.
Start free