Which of the following is not possible?

a. A class that implements two interfaces.
b. A class that inherits from two classes.
c. A class that inherits from one class, and implements an interface.
d. All of the above are possible.


b. A class that inherits from two classes.

Computer Science & Information Technology

You might also like to view...

Consider the relation CLASS(Course#, Univ_Section#, InstructorName, Semester, BuildingCode, Room#, TimePeriod, Weekdays, CreditHours). This represents classes taught in a university with unique Univ_Section#. Give what you think should be various candidate keys and write in your own words under what constraints each candidate key would be valid.

What will be an ideal response?

Computer Science & Information Technology

An adjacency matrix is represented by what kind of matrices?

a. Square b. Rectangular c. Any d. 3-dimensional

Computer Science & Information Technology

________ is a program that attaches itself to another program and tries to spread itself to other computers when exchanging files

A) A Trojan horse B) A worm C) Spam D) A virus

Computer Science & Information Technology

The ____ event is triggered when the user submits an HTML form.

A. onForm B. onHTML C. onHTMLform D. onSubmit

Computer Science & Information Technology