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...

First normal form is a table that contains no repeating groups or repeating columns

Indicate whether the statement is true or false

Computer Science & Information Technology

What feature of NTFS encrypts the contents of files?

A. Compression B. Unicode C. Alternate data streams D. EFS

Computer Science & Information Technology