| Level Navigation: 0 | 1 | 2 | 3 | Current Level: 4 | 5 |
Apply your skills by creating custom POJOs and performing read/update operations on books, pets, and sprites.
Create a book POJO with "title", "author", and "pages".
Print the title and author, update pages, and print all properties.
// TODO: Create your custom book POJO here
// TODO: Print title and author
// TODO: Update pages
// TODO: Print all properties
Create a pet POJO with "name", "species", and "age".
Print species, update age, and print name and updated age.
// TODO: Create your custom pet POJO here
// TODO: Print species
// TODO: Update age
// TODO: Print name and updated age
Create a sprite POJO with "name", "x", and "y".
Print current position, update x and y, then print new position.
// TODO: Create your custom sprite POJO here
// TODO: Print current position
// TODO: Update x and y
// TODO: Print new position
git add script.js
git commit -m "Step 4 completed - Practice Challenge Exercises"
git push
You practiced:
| Level Navigation: 0 | 1 | 2 | 3 | Current Level: 4 | 5 |