Cracking the Java Coding Interview pdfdrive com


Question What is a layout manager? (AWT)


Download 1.48 Mb.
Pdf ko'rish
bet125/182
Sana02.05.2023
Hajmi1.48 Mb.
#1423275
1   ...   121   122   123   124   125   126   127   128   ...   182
Bog'liq
Cracking the Java Coding Interview ( PDFDrive )

Question What is a layout manager? (AWT)
Answer A layout manager is an
object that is used to organize components in a container.
Question Which Component subclass is used for drawing and painting?
(AWT)
Answer Canvas.
Question What are the problems faced by Java programmers who dont use
layout managers? (AWT)
Answer Without layout managers, Java programmers are faced with determining
how their GUI will be displayed across multiple windowing systems and finding
a common sizing and positioning that will work within the constraints imposed
by each windowing system.
Question What is the difference between a Scrollbar and a ScrollPane?
(Swing)
Answer A Scrollbar is a Component, but not a Container. A ScrollPane
is a Container. A ScrollPane handles its own events and performs its own
scrolling.
Question What is the Collections API? (Java util)
Answer The Collections
API is a set of classes and interfaces that support operations on collections of
objects.
Question What is the List interface? (Java util)
Answer The List interface
provides support for ordered collections of objects.
Question What is the Vector class? (Java util)
Answer The Vector class
provides the capability to implement a growable array of objects.
Question What is an Iterator interface? (Java util)
Answer The Iterator
interface is used to step through the elements of a Collection.
Question Which java.util classes and interfaces support event handling?
(Java util)
Answer The EventObject class and the EventListener interface
support event processing.
Question What is the GregorianCalendar class? (Java util)
Answer The
GregorianCalendar provides support for traditional Western calendars.
Question What is the Locale class? (Java util)
Answer The Locale class is
used to tailor program output to the conventions of a particular geographic,
political, or cultural region.

Download 1.48 Mb.

Do'stlaringiz bilan baham:
1   ...   121   122   123   124   125   126   127   128   ...   182




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling