Multiple Choice Question

Quiz Guidelines

 

QID: 
385
Question: 

Which of the given statements are correct for a method that overrides the following method:

public Set getSet(int a) {...}

Select 3 options 

A. Its return type must be declared as Set. 
B. It may return HashSet. 
C. It can declare any Exception in throws clause 
D. It can declare any RuntimeException in throws clause. 
E. It can be abstract. 

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!