Multiple Choice
Which statement correctly declares a sedan object of the Car class?
A) sedan Car = new sedan() ;
B) sedan Car = new sedan() ?
C) Car sedan = new Car() ;
D) new sedan() = Student;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: When you instantiate an object that is
Q4: In a UML diagram, an inheritance relationship
Q8: An error is generated by the compiler
Q17: When a protected data field or method
Q23: Which of the following statements will create
Q33: How is the keyword protected used?
Q53: Create a class named Employee with a
Q57: _ is a mechanism that enables one class
Q68: Usually, the subclass constructor only needs to
Q77: A nonstatic method cannot override a static