JFrame is a parent class of a JPanel.

Each statement below is either TRUE or FALSE. Choose the most appropriate one and
ENTER in the “tear-off” sheet attached to the question paper, following instructions
therein.

2.1 JFrame is a parent class of a JPanel.
2.2 The entry point of every application in java is its main() method.
2.3 The ArrayList class provides the capability to implement a growable array of object.
2.4 In java, Object class is the root of class hierarchy.
2.5 The destroy() method of a JApplet is called more than once in its life cycle.
2.6 Assertions are a commonly used idiom for defensive programming.
2.7 The JButton object can be created with text and icon.
2.8 When using the GridBagLayout manager, each new component requires a new instance of the
GridBagConstraints class.
2.9 The combination of name, return type and order of arguments is termed as signature of
method.
2.10 UML Sequence diagram is one form of interaction diagram.


Leave a Reply