How can we identify whether a compilation unit is class or interface from a .class file?
Which of these methods is used to register a keyboard event listener?
Which of these methods is used to register a mouse motion listener?
What is a listener in context to event handling?
Which of these methods can be used to determine the source of event?
Which of these classes is super class of all the events?
Which of these class is superclass of every class in Java?
In java, which of these keywords cannot be used for a class which has been declared final?
In java, you want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?
Which of the following is a valid declaration of an object of class Box in java?
Which of the following statements is correct for java?
Which of these keywords is used to refer to member of base class from a sub class?
What is it called when child object gets killed if parent object is killed?
Which of these statements is incorrect about java?
What is the process of defining more than one methods in a class differentiated by their method signatures?
What is true about private constructor in java?
Which of the following statements is not correct about constructors in java?
What is true about Class.getInstance() in java?
What is true about protected constructor in java?
What would be the behaviour if one parameterized constructor is explicitly defined in java?
Which of the following statements is incorrect about classes in java?
In java, which of these access specifiers must be used for class so that it can be inherited by another subclass?
In java, which of these keywords is used to prevent content of a variable from being modified?
Which of the following statements is incorrect about static methods in java?
Which of the following statements is incorrect about java?
Which of these statements is incorrect about java?