Java Swing AWT Question:

Download Job Interview Questions and Answers PDF

Explain the differences between Swing and AWT?

Swing AWT Interview Question
Swing AWT Interview Question

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.
They don’t take the look and feel of the target platform so they have a consistent appearance

Download Swing AWT Interview Questions And Answers PDF

Previous QuestionNext Question
Explain AWT?What are heavyweight and lightweight components?