Question: QUESTION 37 A subclass can directly access: O only public and private members of the superclass O only protected and private members of the superclass
QUESTION 37 A subclass can directly access: O only public and private members of the superclass O only protected and private members of the superclass O all members of the superclass O only public and protected members of the superclass QUESTION 38 This annotation tells the Java compiler that a method is meant to override a method in the superclass O eoverride O 80verload O eInherited ?@Protected QUESTION 39 What is the value of str after the following code has been executed? String str: String sourceStr "Hey diddle, diddle, the cat and the fiddle"; str m sourceser.substring (12,17) O diddle O , didd O diddl O Iddle QUESTION 40 What will be the tokens for the following code? String atr "123-456-7890 String[1 tokens atr.split("-"): O 123, 456, and 7890 O 123, 456, 7890, and . O None of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
