2.5k views
0 votes
Which of the following statements is false? Question 16 options: A) With non-static interface methods, helper methods can now be declared directly in interfaces rather than in separate classes. B) Prior to Java SE 8, it was common to associate with an interface a class containing static helper methods for working with objects that implemented the interface. C) Collections method sort can sort objects of any class that implements interface List. D) Class Collections contains many static helper methods for working with objects that implement interfaces Collection, List, Set and more.

User SanjeevRm
by
4.1k points

2 Answers

5 votes

Answer:

A) With non-static interface methods, helper methods can now be declared directly in interfaces rather than in separate classes.

Step-by-step explanation:

In Java programming language, it is false to say that with non-static interface methods, helper methods can now be declared directly in interfaces rather than in separate classes.

User Julien Bourdic
by
4.4k points
6 votes

Answer:

The best answer is "A"

Step-by-step explanation:

With non-static interface methods, helper methods can now be declared directly in interfaces rather than in separate classes.

User Two Bit Gangster
by
4.1k points