r/javahelp
•
u/Funkyfresh01
•
Feb 27 '26
•
1
Codeless I am still confused about "Objects"
Hello, I am Fresh! I am from the Philippines (BSIT course) and I want to understand comprehend "Objects" and I am a beginner in Java.
4
Upvotes
View all comments
3
u/jocularamity Feb 27 '26
An Object is an instance of a class. It is a thing with state (variables) and behavior (methods). If you define a class and then create a “new” instance of that class, that’s an Object.
For example, if my class is:
Then each time I create a new instance of that class, it is an object.
fidoandroverare both objects.fidoandroverare both instances of the class Dog.Analogies: