Exam 10: Interfaces

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

Which of the following statements about a Java interface is NOT true?

(Multiple Choice)
4.8/5
(38)

How do you specify what the program should do when the user clicks a button?

(Multiple Choice)
4.8/5
(37)

Which of the following is true regarding a class and interface types?

(Multiple Choice)
4.8/5
(41)

Which of the following statements will compile without error?

(Multiple Choice)
4.9/5
(38)

Consider the following code snippet: public class Inventory implements Measurable { ) . . Double getMeasure(); { Return onHandCount; } } The compiler complains that the getMeasure method has a weaker access level than the Measurable interface. Why?

(Multiple Choice)
4.7/5
(40)
Showing 81 - 85 of 85
close modal

Filters

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