Which of the following statements is correct?
A) Public method is accessible to all other classes in the hierarchy
B) Public method is accessible only to subclasses of its parent class
C) Public method can only be called by object of its class.
D) Public method can be accessed by calling object of the public class.
Correct Answer:
Verified
Q10: Which of these is correct about passing
Q11: What is the process of defining a
Q12: Which of the following statements are incorrect?
A)Default
Q13: What is the stored in the object
Q14: Which of the following is a valid
Q15: Which of this statement is incorrect?
A)Every class
Q17: Program which executes applet is known as
A)applet
Q18: You read the following statement in a
Q19: Which is true about an anonymous inner
Q20: If a thread is to be declared
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents