Swing AWT interview questions and answers
What is Swing?
Latest answer: Swing is a library of GUI controls. Classes in
swing are not OS dependent. They don’t create peer components, so they are
light weight unlike AWT................
Read answer
Latest answer: Abstract Window Toolkit provides a standard
Application Programming Interface for writing Graphical User Interfaces in
Java................
Read answer
Latest answer: Swing is a library of GUI controls. Classes in
swing are not OS dependent. They don’t create peer components, so they are
light weight unlike AWT................
Read answer
Latest answer: In Java AWT - Abstract Window Toolkit, GUI
components created are OS dependent. When they are created, each component
forms a peer component due to which they are called heavyweight
components................
Read
answer
Latest answer: Controls are components that allow a user to
interact with your application.
A component is a graphical object. A few examples of components
are:...............
Read answer
Latest answer: The Java Foundation Classes are a set of GUI
components and services which simplify the development and deployment of
commercial-quality desktop and Internet/Intranet applications................
Read answer
Latest answer: JSF applications cannot operate when a network
is not present.
Swing applications can operate on local data when the network is not
there................
Read answer
Latest answer: Abstract Windows Toolkit (AWT) is the original
Java GUI tool kit. AWT's comes standard with every version of Java technology.
It is very stable. It doesn’t need to be installed................
Read answer
Latest answer: JFC supports robust and portable user
interfaces. WFC runs only on the Windows (32-bit) user interface, and uses
Microsoft extensions to Java for event handling and ActiveX integration. WFC
performance is better than JFC................
Read answer
Answer: Private Constructors can't be access from any derived
classes neither from another class......
Answer: A static initializer block resembles a method with no
name, no arguments, and no return type......
Answer: To add any primitive to a collection, you need to
explicitly box (or cast) it into an appropriate wrapper class.....
Answer: Maps are used to store the key-Value pairs.....
Answer: The Externizable interface extends the serializable
interface......
Answer:
When serializable interface is declared, the compiler knows that the object has
to be handled..........
|