You need to create a reference variable that can refer to objects from many different classes. You do not know the inheritance hierarchies of the classes. The safest class to use to declare the reference variable

a) Animal
b) String
c) Object
d) Scanner
e) File

c) Object

Computer Science & Information Technology

You might also like to view...

Which of the following statements describes a disadvantage of using frames for Web page layout?

A) Both framed and nonframed versions may be needed, increasing development cost. B) Navigational structure is the same on all pages. C) Frequently used content can be displayed in the same area. D) A framed web site can be harder to maintain.

Computer Science & Information Technology

The increased use of which of the following is argued as evidence of the U.S. Patriot Act's potential danger?

a. Omnibus Crime Control and Safe Streets Act b. Foreign Intelligence Surveillance Act c. Federal Rules of Civil Procedure d. National Security Letters

Computer Science & Information Technology