Multiple Choice
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
Correct Answer:
Verified
Q1: If a thread is to be declared
Q2: What are the pillars of OOPS concept?<br>A)Abstraction,
Q3: Which class cannot be a subclass in
Q5: What is the stored in the object
Q6: JAR stands for?<br>A)Java Archive<br>B)Java Archive Runner<br>C)Java Application
Q7: Which of the following is a valid
Q8: What is the default buffer size used
Q9: Why we use array as a parameter
Q10: Program which executes applet is known as<br>A)applet
Q11: What is different between a Java applet