¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Java quiz

Misael Pinedo 70 preguntas

Hacer el test

Preguntas del test (70)

  1. 1Select the different types of access modifiers in Java
    1. APrivate
    2. BProtected
    3. CDefault
    4. DPublic
    5. ERestricted
    6. FGlobal
  2. 2The FINAL keyword can be assigned to
    1. AClass level variable
    2. Bmethod
    3. Cclass
    4. DObjects
    5. EPackages
  3. 3What happens if the FINAL word is assiged to a variable?
    1. AIt behaves like a constant
    2. BThe value can change
  4. 4What happens if the FINAL keyword is assigned to a method
    1. AIt cannot be overriden in its child class
    2. BIt cannot be overriden in its child class but it can be overriden if the child class has a child class that implements it
  5. 5How many times a final object can be instantiated?
    1. A1
    2. B2
    3. CThere is no limit
  6. 6What is synchronized keyword?
    1. AIs used to prevent concurrency, locks the objects to prevent the race condition between threads
    2. BIf used in a variable the permits that the value gets stored in the main memory to be used and it gets modified for every thread using it by modifying the local variable on each thread
  7. 7What is the purpose of the transient variable?
    1. ATo define the properties of the class that does not need to be serialized
    2. BTo define properties of the class that needs to be serialized
  8. 8What is the strictfp modifier?
    1. AIt is used with variable only to restrict the floating point calculations and ensures the portability
    2. BIt is a modifier that lets the static variables to be converted to constants
  9. 9Can be used with variables and methods but not with the class
    1. Astatic keyword
    2. Bprivate keyword
  10. 10What is a static variable?
    1. AA variable that shares its stance between multiple objects. And changes done by one object to the variable are reflected in other object
    2. BA variable that cannot be used across methods

Información

Descripción
Test sobre Java quiz, creado por Misael Pinedo el 21/03/2015.
Idioma
Español
Visitas
3
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?