Questions et réponses d'entretien les plus demandées et tests en ligne
Plateforme d'apprentissage pour la preparation aux entretiens, les tests en ligne, les tutoriels et la pratique en direct

Developpez vos competences grace a des parcours cibles, des tests blancs et un contenu pret pour l'entretien.

WithoutBook rassemble des questions d'entretien par sujet, des tests pratiques en ligne, des tutoriels et des guides de comparaison dans un espace d'apprentissage reactif.

Preparation a l'entretien

Tests blancs

Definir comme page d'accueil

Ajouter cette page aux favoris

S'abonner avec une adresse e-mail

Java Swing Questions et reponses d'entretien

Test your skills through the online practice test: Java Swing Quiz Online Practice Test

Question 16. Which method of the Component class is used to set the position and size of a component?

setBounds Method of the Component class is used to set the position and size of a component.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 17. What is the What is the difference between invokeAndWait() and invokeLater()?

invokeAndWait() method in swing is synchronous. It blocks until Runnable task is complete. InvokeLater() method in swing is asynchronous. It posts an action event to the event queue and returns immediately. It will not wait for the task to complete.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 18. Why should any swing call back implementation execute quickly?

Callbacks are invoked by the event dispatch thread. Event dispatch thread blocks processing of other events as long as call back method executes.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 19. What is an applet?

Applet is a java program that runs inside a web browser.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 20. What is the difference between applications and applets?

Application must be run explicitly within Java Virtual Machine whereas applet loads and runs itself automatically in a java-enabled browser. Application starts execution with its main method whereas applet starts execution with its init method. Application can run with or without graphical user interface whereas applet must run within a graphical user interface. In order to run an applet we need a java enabled web browser or an appletviewer.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Les plus utiles selon les utilisateurs :

Copyright © 2026, WithoutBook.