A) class King extends Soldier { }
B) class King implements Soldier { }
C) class King { private BestFriend Soldier; }
D) class King { private Soldier bestFriend; }
View Answer
Option – D.
Similar Questions
Cobalt – 60 is commonly used in radiation therapy because it emits
What is the defining right of a representative democracy?
There are 11 True or False questions. How many ways can these be answered ?
The H.C.F. of two numbers is 23 and the other two factors of their L.C.M. are 13 and 14. The larger of the two numbers is:
Srinivas bought 10 cycles for Rs. 1,750 each. He sold 4 cycles for Rs 8,400, 3 for Rs 1900 each . At what price should he sell the remaining cycles so as to earn an average profit of Rs 320 per cycle ?
The compound interest on a sum of money for 2 years is rs.832 and the simple interest on the same sum for the same period is rs.800 .the difference between the compound interest and simple interest for 3 years
How many black cards are in a deck?
Where is vansda national park Located?
The highest score in an inning was 3/11 of the total and the next highest was 3/11 of the reminder . If the score differ by 9, the total score was :
If the sum of two numbers is 55 and the H.C.F. and L.C.M. of these numbers are 5 and 120 respectively, then the sum of the reciprocals of the numbers is equal to ?