What are objects in java??
Answers
Answered by
2
Java is an Object-Oriented Language. As a language that has the Object-Oriented feature, Java supports the following fundamental concepts −
PolymorphismInheritanceEncapsulationAbstractionClassesObjectsInstanceMethodMessage ParsingIn 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
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
Hindi,
8 months ago
Math,
8 months ago
Social Sciences,
1 year ago
English,
1 year ago
Physics,
1 year ago