what is class and object in java
Answers
Answered by
1
Explanation:
Java Classes/Objects
Java is an object-oriented programming language. Everything in Java is associated with classes and objects, along with its attributes and methods. For example: in real life, a car is an object. ... A Class is like an object constructor, or a "blueprint" for creating objects.
Answered by
1
Explanation:
- Java is an object-oriented programming language. Everything in Java is associated with classes and objects, along with its attributes and methods. For example: in real life, a car is an object. ... A Class is like an object constructor, or a "blueprint" for creating objects.
Similar questions