Computer Science, asked by Anonymous, 1 year ago

What are objects in java??

Answers

Answered by hemantvats17
2

Java is an Object-Oriented Language. As a language that has the Object-Oriented feature, Java supports the following fundamental concepts −

PolymorphismInheritanceEncapsulationAbstractionClassesObjectsInstanceMethodMessage Parsing

In this chapter, we will look into the concepts - Classes and Objects.

Object − Objects have states and behaviors. Example: A dog has states - color, name, breed as well as behaviors – wagging the tail, barking, eating. An object is an instance of a class.


hemantvats17: please mark my answer as brainliest
Answered by yashusri
0
Objects are key to understanding object-oriented technology.Object is the physical as well as logical entity whereas class is the logical entity only. ... An entity that has state and behavior is known as an object e.g. chair, bike, marker, pen, table, car etc. ..
Similar questions