Gadget
Test por , creado hace más de 1 año

Questions about basics in Java Core

255
8
0
Gadget
Creado por Gadget hace más de 9 años
Cerrar

Java Core. Basics

Pregunta 1 de 2

1

What is the general meaning of Object in java?

Selecciona una de las siguientes respuestas posibles:

  • Object is the root-super class of any object in Java. All objects extend this class by default, even if there is no extends-section in signature of class.

  • Everything in Java is an object.

  • Object is an ordinary class. It has number of useful methods like equals, hashCode, toString. If any new class require to use these methods or override them it must contain "extends Object" section in it's signature.

Explicación

Pregunta 2 de 2

5

List all methods in Object class which are allowed to be extended or overridden

Selecciona una o más de las siguientes respuestas posibles:

  • getClass

  • hashCode, equals

  • toString

  • clone

  • finalize

  • wait, notify, notifyAll

  • getMethods

  • valueOf

  • sleep, notify, notifyAll

  • equalsIgnoreCase

Explicación