Question: just answers Name: D: A 44, The classes Reader and Write r are derived from the class a Streans b. Input:s c outputs d. object
just answers

Name: D: A 44, The classes Reader and Write r are derived from the class a Streans b. Input:s c outputs d. object the class Mystery is derived from the class secret. Consider the following statements Secret secRef new Secret) Mystery mysRef new Mystery Which of the following statements is legal in Java? (0) secRet mysRef; (ii) mysRef secRef a. Only (i) b. Only (ii) e. d. Both (i) and (ii) None of these 46. Suppose that the class Mystery is derived from the class Secret. Consider the following Secret mySecret new Secret( Secret secRet Mystery myMysterynew Mystery Nystery mysRef secRefmyMystery Which of the following statements is legal in Java? (i) mysRet(Mysteryl mySecreti (ii) mysRef Myatery) secRef: a. Only (0) b. Only (i) c. Both () and (ii) d. None of these Which operator is used to determine if an object is of a particular class type? a. b. 47. The operator new The dot (.) operator c. The instanceof operator d. The operator 48. An abstract class can contain abstract and non-abstract methods nothing only abstract methods c. d. a. b. oaly non-abstract methods 49. An abstract class a does not have any subclasses b. is a superclass with many subclasses . is the base class of all other classes c. cannot be instantiated 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
