Tag: Q&A

OOP – Inheritance – Q&A

online-assessment

Question 1[2 marks] What code would you write to instantiate one new MP3 object called topTrack for the lastest 3 minutes 12 seconds song “Shivers” from Ed Sheeran? ✔ ✘ ↻ A Question 2[4 marks] What are all the methods

OOP – Encapsulation – Q&A

online-assessment Question 1[2 marks] What code would you write to instantiate two new padlocks: One called bikeLock that is already locked with a combination of 4321 and one called gardenShedLock that is unlocked with a combination of 1234? ✔ ✘ ↻