• PR1-W6-Part1-OOP_Classes&Objects
     Help
  • 1. Which Java keyword is used to create a new object (an instance) of a class? (1)
    C. new (Example: Dog d = new Dog();)
  • 2. Which of the following is not a primitive type in Java? (1)
    C. String
  • 3. What does a class represent in object-oriented programming? (1)
    B (A class defines fields and methods. Instances (objects) are created from that blueprint.)
  • Unlock this slideshow and over 4 million more with Baamboozle+
    Try slideshows
  • Your experience on this site will be improved by allowing cookies.