Why is this code not encapsulated within the Laptop class?
turnOn() is not in the class Laptop so the function is not part of the Laptop objectturnOn is a function and not a propertyturnOn() is not in the class Laptop so the function is not part of the Laptop object.