Exam 9: Advanced Java Topics

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What is an access modifier?

(Essay)
4.9/5
(30)

A superclass's private data fields can be revised by one of its subclasses.

(True/False)
4.8/5
(30)

In a class within a package,the keyword ______ must appear in front of the class keyword to make the class available to clients of the package.

(Multiple Choice)
4.7/5
(39)

What kind of methods are appropriate to implement in an abstract class?

(Essay)
4.8/5
(40)

What is an abstract class?

(Essay)
4.8/5
(39)

An instance of a subclass can access the protected members of the superclass.

(True/False)
4.8/5
(41)

A method in a subclass is said to ______ an inherited method if it has the same method declarations as the inherited method.

(Multiple Choice)
4.9/5
(43)

Methods declared as ______ use static binding.

(Multiple Choice)
4.7/5
(38)

How can a package be created in Java?

(Essay)
4.9/5
(42)

Can the object type of an argument in the call to a method be difference from the object type of the corresponding formal parameter? Explain.

(Essay)
4.9/5
(45)

Static binding is also known as ______.

(Multiple Choice)
4.9/5
(33)

What is meant by static binding?

(Essay)
4.8/5
(33)

What are some of the advantages of using an object-oriented approach to the development of a software?

(Essay)
5.0/5
(37)

If the field modifier ______ is specified in a method definition,the method cannot be overridden by a subclass.

(Multiple Choice)
4.8/5
(35)

What kind of relationship exists between a superclass and a subclass?

(Essay)
4.8/5
(49)

A class's ______ members can only be used by its own methods.

(Multiple Choice)
4.9/5
(46)

What does the reference super represent?

(Essay)
4.8/5
(37)

What is containment?

(Essay)
4.9/5
(41)

A subclass is said to be a ______ of its superclass.

(Multiple Choice)
4.8/5
(42)

The ______ access modifier hides the members of a class from the class's clients but makes them available to a subclass and to another class within the same package.

(Multiple Choice)
4.8/5
(34)
Showing 21 - 40 of 60
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)