Exam 6: AWT Components and Layout Management in Java

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The method to set the text of Textfield.

Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
Verified

C

How do you change the current layout manager for a container

Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
Verified

A

The method to get the text of a Label

Free
(Multiple Choice)
4.9/5
(47)
Correct Answer:
Verified

B

------------------- is an example of container class

(Multiple Choice)
4.7/5
(40)

A ------------ is an object that the user can see on the screen and-in most cases-interact with.

(Multiple Choice)
4.8/5
(46)

The AWT component used to display a single line of read-only text

(Multiple Choice)
4.8/5
(40)

The method in Graphics class to set the drawing color

(Multiple Choice)
4.9/5
(45)

The method that returns the selected item from a List component is

(Multiple Choice)
4.8/5
(32)

The layout manager that lays out a container's components in a rectangular grid.

(Multiple Choice)
4.9/5
(39)

The method in Graphics class to draw a circle/oval with specified width and height.

(Multiple Choice)
4.9/5
(38)

The AWT component used for taking input from user.

(Multiple Choice)
4.8/5
(38)

Which of the following statements is legal in Java? (i) mysRef = (Mystery) mySecret; (ii) mysRef = (Mystery) secRef;

(Multiple Choice)
4.8/5
(31)

What is the value of y if x = 2?

(Multiple Choice)
4.8/5
(42)

The method used to draw an ellipse is

(Multiple Choice)
4.8/5
(32)

The class used for drawing graphics in an application is

(Multiple Choice)
5.0/5
(36)

The class used to make a standalone application in java.

(Multiple Choice)
4.8/5
(42)

The class used to create a Radio button in awt is

(Multiple Choice)
4.9/5
(26)

The method setFont() is defined in---------- class

(Multiple Choice)
4.9/5
(32)

The layout manager that lets you align components at north, south, east, west directions is

(Multiple Choice)
4.8/5
(36)

The class used to encapsulate fonts is

(Multiple Choice)
4.9/5
(40)
Showing 1 - 20 of 23
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)