1.
Q2: Considering the following incomplete class definition, which of the following constructors can be added to the
SomeClass
class without causing a compiler error?
public class SomeClass {
public SomeClass(int first ) {
/* implementation not shown */ }
public SomeClass(int first, int second) {
/* implementation not shown */ }
public someClass(int first, String second) {
/* implementation not shown */ }
} // end SomeClass
- I only
- I and II only
- I and III only
- II and III only
- I, II and III