Multiple Choice Question

Quiz Guidelines

 

QID: 
191
Question: 

What should be inserted in the code given below at line marked //10:

class MyClass{
}
class MyComparable implements Comparable<MyClass>{
public int compareTo( *INSERT CODE HERE* x ){ //10
return 0;
}
}

Select 1 option

A. Object
B. MyClass
C. Object<MyClass>
D. Comparable<MyClass>
E. Comparable

Q&A Set: 

Search the Web

Custom Search

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