RockedBuzz
  • Home
    • Home – Layout 1
  • News
  • Politics
  • Business
  • National
  • Culture
  • Opinion
  • Lifestyle
  • Sports
No Result
View All Result
  • Home
    • Home – Layout 1
  • News
  • Politics
  • Business
  • National
  • Culture
  • Opinion
  • Lifestyle
  • Sports
No Result
View All Result
RockedBuzz
No Result
View All Result
Home Education

Which object can be constructed to show any number of choices in the visible window?

RockedBuzz by RockedBuzz
December 6, 2020
in Education
0
Which object can be constructed to show any number of choices in the visible window?
0
SHARES
8
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Q.  Which object can be constructed to show any number of choices in the visible window?
– Published on 22 Jul 15

a. Labels

Contents

    • RelatedPosts
    • Report: What is the recommended amount of weekly exercise for adults?
    • Report: “Cardio” is an abbreviation for what word?
    • Which object can be constructed to show any number of choices in the visible window?
  • Basics of AWT and Swing – Java test

RelatedPosts

Report: What is the recommended amount of weekly exercise for adults?

Report: “Cardio” is an abbreviation for what word?

Load More

b. Choice

c. List

d. Checkbox

ANSWER: List Source

Which object can be constructed to show any number of choices in the visible window?

It can be noted that the Choice object shows only the single selected item in the menu, whereas, a List object can be constructed to show any number of choices in the visible window.

Basics of AWT and Swing – Java test

1) Give the abbreviation of AWT?

A) Applet Windowing Toolkit
B) Abstract Windowing Toolkit
C) Absolute Windowing Toolkit
D) None of the above
View Answer / Hide Answer

ANSWER: B) Abstract Windowing Toolkit

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

A) Panel
B) Frame
C) Window
D) Container
View Answer / Hide Answer

3) 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 / Hide Answer

4) AWT is used for GUI programming in java?

A) True
B) False
View Answer / Hide Answer

5) The following specifies the advantages of

It is lightweight.
It supports pluggable look and feel.
It follows MVC (Model View Controller) architecture.

A) Swing
B) AWT
C) Both A & B
D) None of the above
View Answer / Hide Answer

6) Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application?

A) True
B) False
View Answer / Hide Answer

7) Which class provides many methods for graphics programming?

A) java.awt
B) java.Graphics
C) java.awt.Graphics
D) None of the above
View Answer / Hide Answer

ANSWER: C) java.awt.Graphics

 

8) These two ways are used to create a Frame

By creating the object of Frame class (association)
By extending Frame class (inheritance)

A) True
B) False
View Answer / Hide Answer

9) The Following steps are required to perform

1) Implement the Listener interface and overrides its methods
2) Register the component with the Listener

A) Exception Handling
B) String Handling
C) Event Handling
D) None of the above
View Answer / Hide Answer

ANSWER: C) Event Handling

 

10) In which places can put the event handling code

A) Same class
B) Other class
C) Annonymous class
D) All mentioned above
View Answer / Hide Answer

ANSWER: D) All mentioned above

11) Which package provides many event classes and Listener interfaces for event handling?

A) java.awt
B) java.awt.Graphics
C) java.awt.event
D) None of the above
View Answer / Hide Answer

ANSWER: C) java.awt.event

12) To use the ActionListener interface it must be implemented by a class there are several ways to do that find in the following?

A) Creating a new class
B) using the class the graphical component
C) an anonymous inner class
D) All mentioned above
View Answer / Hide Answer

ANSWER: D) All mentioned above

13) The ActionListener interface is not used for handling action events?

A) True
B) False
View Answer / Hide Answer

14) The ActionListener interface is used for handling action events,For example,it’s used by a

A) JButton
B) JCheckbox
D) JMenuItem
C) All of these
View Answer / Hide Answer

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

A) Window
B) Frame
C) Panel
D) Container
View Answer / Hide Answer

16) How many types of controls does AWT supports these controls are subclasses of component?

A) 7
B) 6
C) 5
D) 8
View Answer / Hide Answer

17) Which are passive controls that do not support any interaction with the user?

A) Choice
B) List
C) Labels
D) Checkbox
View Answer / Hide Answer

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

A) setText()
B) getText()
C) Both A & B
D) None of the above
View Answer / Hide Answer

19) Which class is used to create a pop-up list of items from which the user may choose?

A) List
B) Choice
C) Labels
D) Checkbox
View Answer / Hide Answer

20) Which object can be constructed to show any number of choices in the visible window?

A) Labels
B) Choice
C) List
D) Checkbox
View Answer / Hide Answer

21) Which class is used for this Processing Method processActionEvent( )?

A) Button,List,MenuItem
B) Button,Checkbox,Choice
C) Scrollbar,Component,Button
D) None of the above
View Answer / Hide Answer

ANSWER: A) Button,List,MenuItem

22) The Swing Component classes that are used in Encapsulates a mutually exclusive set of buttons?

A) AbstractButton
B) ButtonGroup
C) JButton
D) ImageIcon
View Answer / Hide Answer

23) Which is used to store data and partial results, as well as to perform dynamic linking, return values for methods, and dispatch exceptions?

A) Window
B) Panel
C) Frame
D) Container
View Answer / Hide Answer

24) The following way is used to create a frame is by creating the object of Frame class?

A) inheritance
B) association
C) Both A & B
D) None of the above
View Answer / Hide Answer

25) AWT more powerful components like tables, lists, scroll panes, color chooser, tabbed pane etc.?

A) True
B) False
View Answer / Hide Answer

26) In Graphics class Which method is used to set the graphics current color to the specified color?

A) public abstract void setFont(Font font)
B) public abstract void setColor(Color c)
C) public abstract void drawString(String str, int x, int y)
D) None of the above
View Answer / Hide Answer

ANSWER: B) public abstract void setColor(Color c)

27) These four methods commonly used in?

1)public void add(Component c)
2)public void setSize(int width,int height)
3)public void setLayout(LayoutManager m)
4)public void setVisible(boolean)

A) Graphics class
B) Component class
C) Both A & B
D) None of the above
View Answer / Hide Answer

ANSWER: B) Component class

28) In Graphics class which method is used to draws a rectangle with the specified width and height?

A) public void drawRect(int x, int y, int width, int height)
B) public abstract void fillRect(int x, int y, int width, int height)
C) public abstract void drawLine(int x1, int y1, int x2, int y2)
D) public abstract void drawOval(int x, int y, int width, int height)
View Answer / Hide Answer

ANSWER: A) public void drawRect(int x, int y, int width, int height)

29) Implement the Listener interface and overrides its methods is required to perform in event handling?

A) True
B) False
View Answer / Hide Answer

30) The Java Foundation Classes (JFC) is a set of GUI components which simplify the development of desktop applications?

A) True
B) False
View Answer / Hide Answer Source

RockedBuzz

RockedBuzz

Related Posts

What is the recommended amount of weekly exercise for adults?

Report: What is the recommended amount of weekly exercise for adults?

March 11, 2021
Report: “Cardio” is an abbreviation for what word?

Report: “Cardio” is an abbreviation for what word?

March 11, 2021

When is The Senate Voting on The Stimulus Package

February 27, 2021

168 Libras a Kilos

February 27, 2021

Incredible Deaths – Worst Of All Ways to Die!

October 19, 2020

Best Military Rifles You haven’t seen it before.

October 19, 2020

That’s one reason prison riots break out! Bizarre Prison Riots

October 19, 2020

The Russian Werewolf prowled the dark streets of Siberia

October 19, 2020

If you don’t know about Ted Bundy

October 19, 2020

How many storeys of houses were generally found in harappan cities?

October 17, 2020
Load More
Next Post
Instagram Coffee Foam Gifs

Instagram Coffee Foam Gifs

Share a link in a chat on Zoom

How to Link from Zoom? How to Send a Link! Share a link in a chat on Zoom

You Disconnected From The Server Among Us

What Does It Mean You Disconnected From The Server Among Us?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

If You See It On the Beach, Watch Out Your Pet or Child!

If You See It On the Beach, Watch Out Your Pet or Child!

8 months ago
Kim Kardashian

Kim Kardashian’s children: Soaks up the sun as she exercises with her kids

7 months ago
UNDERWATER Trailer 2 (NEW 2020) Kristen Stewart

UNDERWATER Trailer 2 (NEW 2020) Kristen Stewart

8 months ago
Metta Meditation App

Metta Meditation App Download free Apk

6 months ago

Instagram

    Please install/update and activate JNews Instagram plugin.

Categories

  • Action Movies
  • Android Apk
  • Animals
  • Answer
  • App Store
  • Apple
  • Art
  • Audio
  • Beauty
  • Best HairStyles
  • Braid Hairstyles
  • Business
  • Buzz Cut
  • Celebrity
  • Christmas Gift
  • Culture
  • Download PDF
  • Education
  • Encyclopedia
  • Facebook
  • Facts
  • Funny
  • Funny Videos
  • Games
  • Google
  • Got Talent Global
  • Hair
  • Hair Cuts
  • HairStyles
  • How To
  • Instagram
  • iPhone
  • Lifestyle
  • Makeup
  • Men's Hair Cut
  • Mp3
  • National
  • Netflix
  • New York City
  • NEWS
  • Opinion
  • Politics
  • Portable Download Program
  • Quotes
  • Recipes
  • Seo
  • Short Hair
  • Social Media
  • Sports
  • Technology
  • TikTok
  • Travel
  • Tutorial
  • Twitter
  • Uncategorized
  • Vehicle Insurance
  • VFX Download
  • Videos
  • What is
  • Whatsapp
  • Windows
  • WordPress Template
  • World
  • WTF
  • Youtube

ads

Topics

2018 FIFA World Cup 2018 League Among Us Android Apk Simontok Asian Games 2018 Balinese Culture Bali United Brawl Stars Budget Travel Chopper Bike COVID-19 Cyberpunk 2077 Discord not detecting input from mic Download Among Us film-bokeh-full-bokeh-lights-bokeh-video Gisella Anastasia Google Photos Instagram Istana Negara League of Legends Market Stories National Exam PUBG PUBG locked pumpkin crate password PUBG Mobile PUBG Mobile Free Account Simontok app si montok simontok app 2020 apk download latest version 2.0 for ios Simontox app Snaptube Android Soorarai Pottru Movie Download Spotify Steam Valorant vidio-sexxxxyyyy-video-bokeh-full-2020-china-4000-youtube-videomax Visit Bali WhatsApp WhatsApp Web Xbox One xnview-indonesia-2019-apk xnview indonesia 2020 apk xvideos-com-xvideoservicethief-2019-linux-ddos-attack-online-free-download/ XVideoStudio Editor YouTube
No Result
View All Result

Highlights

Thop TV Apple Download

Top 15 Wallpaper Apps for Smartphones

100K+ Hd Phone Wallpapers

15 Bizarre Facts You’ll Probably Hear For The First Time About Octopuses

An Important Step For Paralysed People: The Human Brain Is Connected To A Computer Wirelessly For The First Time

50+ Great Books You Should Read At Least Once In Your Life

Trending

Watch Whatsapp status secretly
Whatsapp

view Whatsapp status secretly – this is how it goes anonymously

by RockedBuzz
April 19, 2021
0

These tricks allow you to view a person's Whatsapp status without them noticing. We'll show you how...

Oreo tv for ipl 2021 download

Oreo tv for ipl 2021 download

April 14, 2021
Karnan Movie Download isaimini

Karnan Movie Download isaimini

April 14, 2021
Thop TV

Thop TV Apple Download

April 14, 2021
Wallpaper Apps

Top 15 Wallpaper Apps for Smartphones

April 7, 2021

RockedBuzz? here has breaking news, Social Content Platform! Here are Real answers to questions you may not know what happened.

Recent News

  • view Whatsapp status secretly – this is how it goes anonymously April 19, 2021
  • Oreo tv for ipl 2021 download April 14, 2021
  • Karnan Movie Download isaimini April 14, 2021

Categories

  • Action Movies
  • Android Apk
  • Animals
  • Answer
  • App Store
  • Apple
  • Art
  • Audio
  • Beauty
  • Best HairStyles
  • Braid Hairstyles
  • Business
  • Buzz Cut
  • Celebrity
  • Christmas Gift
  • Culture
  • Download PDF
  • Education
  • Encyclopedia
  • Facebook
  • Facts
  • Funny
  • Funny Videos
  • Games
  • Google
  • Got Talent Global
  • Hair
  • Hair Cuts
  • HairStyles
  • How To
  • Instagram
  • iPhone
  • Lifestyle
  • Makeup
  • Men's Hair Cut
  • Mp3
  • National
  • Netflix
  • New York City
  • NEWS
  • Opinion
  • Politics
  • Portable Download Program
  • Quotes
  • Recipes
  • Seo
  • Short Hair
  • Social Media
  • Sports
  • Technology
  • TikTok
  • Travel
  • Tutorial
  • Twitter
  • Uncategorized
  • Vehicle Insurance
  • VFX Download
  • Videos
  • What is
  • Whatsapp
  • Windows
  • WordPress Template
  • World
  • WTF
  • Youtube

Answers

Which colour character are you? Step by Step!

Where to buy lil nas x shoes

Where to buy topo chico hard seltzer

Which of the following environments would most likely lead to the transcription of the lactose operon?

ASK: What is a synonym for sheepshank?

Which Country Shares a Border with Jordan and Lies Along the Mediterranean Sea?

What historical dynasty emerged from the time of troubles?

Who started World War II?

Paranormal Activity: Which horror film took only a week to movie? (2021)

Shōchū kōrui: Which of the following spirits may be made with sweet potatoes?

Lagomorph: What type of animal is a lagomorph?

What is sake made from?

What were the oscar statuettes made of during world war ii plaster stone wood?

French: The 24 Hours of Le Mans is an event in what sport?

NEWS: What geological formation has roots?

© 2021 RockedBuzz Media  - Rocked Buzz, has breaking news, Health, Travel, the latest Technology news. The feeds will do you good because best hairstyles is here.

No Result
View All Result
  • Home
  • Politics
  • News
  • Business
  • Culture
  • National
  • Sports
  • Lifestyle
  • Travel
  • Opinion

© 2021 RockedBuzz Media.

Enable Notifications    OK No thanks