Search Header Logo

AJP 6CSN

Authored by Mara Shirisha

Computers

Professional Development

Used 3+ times

AJP 6CSN
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the container that contain title bar and can have MenuBars. It can have other components like button, textfield etc.?

panel

frame

window

container

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

By which method You can set or change the text in a Label ?

A) setText()

Both A & B

B) getText()

None of the above

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Panel is defined as ----------------

The Panel class is a concrete subclass of Container.

A Panel is a window that does not contain titlebar, menubar and border.

Panel is a superclass of Applet

All of the above.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

which method will cause a jframe to get displayed?

show()

setVisible()

showFrame()

displayFrame()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the setText() method in Java?

A) To set the text of a Label

B) To get the text of a Label

C) To create a new Label

D) None of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which class is a concrete subclass of Container in Java?

A) Panel

B) Frame

C) Window

D) Applet

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the setLayout() method in Java?

A) To set the layout manager for a container

B) To get the layout manager of a container

C) To create a new layout manager

D) None of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?