A. Window
B. Frame
C. Jframe
D. Swingframe
View Answer
Object Oriented Programming MCQs
Give the abbreviation of awt?
A. Applet windowing toolkit
B. Abstract windowing toolkit
C. Absolute windowing toolkit
D. None of the above
View Answer
Which is a component in awt that can contain another components like buttons, textfields, labels etc.?
A. Window
B. Container
C. Panel
D. Frame
View Answer
Which method can set or change the text in a label?
A. Settext()
B. Gettext()
C. All the above
D. None of the above
View Answer
Java is ______________ language.
A. Case sensitive
B. Case insensitive
C. Only lower case
D. Only upper case
View Answer
Which is the correct method to create java frame.
A. Javaframe = new javaframe(“frame”);
B. Frame = new frame(“frame”);
C. Jframe = new jframe(“frame”);
D. None of the above
View Answer
Row number and column number in a multidimensional array start with __________.
A. -1
B. 0
C. 1
D. 2
View Answer
What is the default value of byte, short, int or long data type elements of an array in java?
A. -1
B. 1
C. 0
D. Garbage value
View Answer
Which are the special symbols used to declare an array in java?
A. N-1
B. N
C. N+1
D. N+2
View Answer
Which are the special symbols used to declare an array in java?
A. Braces { }
B. Parentheses ()
C. Square brackets [ ]
View Answer