What's true about classes?
new
keyword and a constructor to create an instance of themclass
keyword to create a classstatic
keyword with the methods of classesSweet! We use the class
keyword to create a class and the new
keyword with a constructor to create an instance of it.
Oh noes! We use the class
keyword to create a class and the new
keyword with a constructor to create an instance of it.