Answer the following statements true (T) or false (F)

1) A parent class object must be created before objects of a child class can be created.
2) Private members of a parent class are inherited by child classes.
3) Java supports multiple inheritance.
4) In Java, a subclass can only extend one parent class.
5) A child class is allowed to define a method with the same name and parameter list as a method in the parent class.


1) F
2) T
3) F
4) T
5) T

Computer Science & Information Technology

You might also like to view...

What is the definition of baud?

What will be an ideal response?

Computer Science & Information Technology

In order to break out of a command or process on a terminal, what keys should you press?

A. ctrl+alt+del B. ctrl+space C. alt+del D. ctrl+c

Computer Science & Information Technology

Using good grammar, list two ways mentoring can help in the IT field

What will be an ideal response?

Computer Science & Information Technology

What is the Simple Network Management Protocol (SNMP), and how does it work?

What will be an ideal response?

Computer Science & Information Technology