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

Core Java Questions et reponses d'entretien

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

Question 106. What do you understand by private, protected and public?

These are accessibility modifiers. Private is the most restrictive, while public is the least restrictive. There is no real difference between protected and the default type (also known as package protected) within the context of the same package, however the protected keyword allows visibility to a derived class in a different package.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 107. What happens to a static var that is defined within a method of a class ?

Can't do it. You'll get a compilation error

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 108. What does the 'final'?? keyword mean in front of a variable? A method? A class?

FINAL for a variable: value is constant. FINAL for a method: cannot be overridden. FINAL for a class: cannot be derived

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 109. What is the final keyword denotes?

final keyword denotes that it is the final implementation for that method or variable or class. You can't override that method/variable/class any more.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 110. What is the difference between a static and a non-static inner class?

A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Les plus utiles selon les utilisateurs :

Copyright © 2026, WithoutBook.