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
Show parent comment
2
u/jocularamity Mar 04 '26
Yes, you write the Dog class once. It will probably be in a file named Dog.java. After that class is written, you can create as many new Dog instances as you like in other code.