r/javahelp • • Feb 27 '26 • Bravo 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

19 comments sorted by

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.

1

u/Funkyfresh01 Mar 04 '26

How convenient! Despite other people's hatred for Java due to its verbosity.