Question: solve please QUESTION 5 Which Java keyword cannot appear in method definitions? a. static b. final C. implements d. abstract QUESTION 6 Which of the

solve please  solve please QUESTION 5 Which Java keyword cannot appear in method
definitions? a. static b. final C. implements d. abstract QUESTION 6 Which

QUESTION 5 Which Java keyword cannot appear in method definitions? a. static b. final C. implements d. abstract QUESTION 6 Which of the following is TRUE about inheritance in Java? 1) Private methods are final. 2) Protected members are inherited by the subclasses. 3) Protected methods are final. 4) We cannot override private methods. a. 1, 2 and 3 b. Only 1 and 2 OC. 2. 3 and 4 d. 1, 2 and 4 QUESTION 7 IF classes A and B exist in the same package while class Cinherits A but in different package and X is a protected int variable in Athen 2. X can be read from both B and b.X can be read from B only C. X can be read from C only d. x cannot be read from either Borc QUESTION 8 Which one of the following is not true? a. A class must be qualified as abstract class, if it contains one abstract method. An abstract class cannot have non-abstract methods. C. Abstract methods should be implemented in the derived class d. A class containing abstract methods is called an abstract class b

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!