Computer Science, asked by divyanshi787, 3 months ago

what is class and object in java​

Answers

Answered by AbhiThakur07
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 aasthavm2005
1

Explanation:

  1. 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