Java Interview
🇬🇧
In Inglés
In Inglés
Practique preguntas conocidas
Manténgase al día con sus preguntas pendientes
Completa 5 preguntas para habilitar la práctica
Exámenes
Examen: pon a prueba tus habilidades
Pon a prueba tus habilidades en el modo de examen
Aprenda nuevas preguntas
Modos dinámicos
InteligenteMezcla inteligente de todos los modos
PersonalizadoUtilice la configuración para ponderar los modos dinámicos
Modo manual [beta]
El propietario del curso no ha habilitado el modo manual
Modos específicos
Aprende con fichas
elección múltipleModo de elección múltiple
Expresión oralResponde con voz
EscrituraModo de solo escritura
Java Interview - Marcador
Java Interview - Detalles
Niveles:
Preguntas:
47 preguntas
🇬🇧 | 🇬🇧 |
Typically used in variables and methods. They can only be access in the class they are declared. Private variables and methods from SuperClass are Not available in Subclass. | Private Access Modifier |
Protected variables and methods can be accessed in the same package Classes. Protected Variables and Methods from SuperClass are available to SubClass in any package. | Protected Access Modifier |
Public variables and methods can be accessed from every other Java Classes. Public variables and methods from SuperClass are all available directly in the SubClass. | Public Access Modifier |
Final Methods cannot be overridden. Any subclass extending the class cannot override the final method. It is the final definition. | Final Modifier on a Method |
Once Initialized, the value of a final variable cannot be changed. | Final Modifier on a Variable |
Final arguments value cannot be modified. | Final Modifier on a Argument |
Hashmap allows for null keys where Hashtable doesnt allow null keys and values. Hashtable is synchronized but hashMap is not synchronized. | HashMap vs Hashtable |
Arrays.asList() convert to arrayList. I can use system out on the new list1 or | 10000 items in an array how to pull them out and use efficiently |
.put(key, element) and .get(key) | Learn map. How do you put and grab things from map. What is the method. |
Static methods belongs to the class rather than object of a class. Static methods can be inoked without create an instance of a class. Static method can access static data memeber and change the value of it. | What is Static, and what it means? If you have a static variable in a class can you reference it |
Sets a = 100, single equal is an assignement operator used to assign the values to the variables. | Integer a = 100 and Integer b=100 what is a=b |
System – is a final class in java.lang package. Out is a static member field of System Class and is of type PrintStream. Println is a method of PrintStream class. | What is System.out.print.ln (in each word) |
Double equals checks if both objects point to the same memory location where as .equals compares the values in the objects. | When do you use double equals and .equals |
Java Bytecode and having .class extension. A java class file is created by java compiler from .java files as a result of successful compilation. | What are the contents of a class file |
For each loop meant for traversing items in a collection. | For each and for loop. |
Class is a blueprint from which objects are created. Objects is an instance of a class. | Class Vs Object |
Fast fail throws and error when there is threat concurrency issues and fail safe makes sure there is no threat concurrency issues. | What is the difference between fail-fast and fail-safe iterators? |
A singleton class means that only one instance of the class can be created at a time. This is done by setting the contructor as private. | What is singleton class in Java and how can we make a class singleton? |
Renders a property's value as text | Interpolation syntax {{ }} |
Use property value in a template expression | Property binding [ ] |