Learning Java for the first time? You may already know enough to build a virtual pet. 🐶
Java
Visit on X576K followers
15,767 views
Learning Java for the first time? You may already know enough to build a virtual pet. 🐶
Our latest lab covers how to name your pet, start it at 100 energy, and track how sleep, exercise and meals change it.
The trick? Only full blocks count, and Java’s int division handles that for you.
Check out our AP CSA lecture series to learn more:
4 Comments
Comments from the original post on X (Twitter)

@Yottabyetes
@khmarbaise any other java resources/tutorials?that is more structured? Maybe project based?
1 like

@softech28
@java my first language this is fun.

@SolecialGirl
Cool 😎!!!

@patogtok
Excelente
