Blog Archives

5 Swing & AWT interview questions and answers

If you are going to work on Swing based applications…. Q1. What are the differences between AWT and Swing? A1.Swing provides a richer set of components than AWT. They are 100% Java-based. There are a few other advantages to Swing over AWT: Swing provides both additional components like JTable, …...



Q6 – Q11 Swing interview questions and answers

Extends Q1 to Q5 Swing interview questions and answers.

Q6. If you add a component to the CENTER of a border layout, which directions will the component stretch?
A6. The component will stretch both horizontally and vertically. It will occupy the whole space in the middle.

Read more ›



800+ Java Interview Q&As

Java & Big Data Tutorials

Top