question 6) which of the following statements are true? 1) the instanceof operator can be used to determine if a reference is an instance of a class, but not an interface. 2) the instanceof operator can be used to determine if a reference is an instance of a particular primitive wrapper class 3) the instanceof operator will only determine if a reference is an instance of a class immediately above in the hierarchy but no further up the inheritance chain 4) the instanceof operator can be used to determine if one reference is of the same class as another reference thus
question 7) which of the following statements are true? 1) an interface can only contain method and not variables 2) interfaces cannot have constructors 3) a class may extend only one other class and implement only one interface 4) interfaces are the java approach to addressing its lack of multiple inheritance, but require implementing classes to create the functionality of the interfaces.
question 8) which of the following are valid statements 1) public class mycalc extends math 2) math.max(s). 3) math.round(9.99,1). 4)math.mod(4,10).
question 9) which of the following are methods of the runnable interface 1) run 2) start 3) yield 4) stop