Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

Java Interview

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

Super Keyword is used to access methods of the parent class while this is used to access methods of the current class. This and super both kewyords are reference variables that refer to some object of a class. So they both belonga instance of the class. while static method belong to the clas than instance of the class. So static method cant access this and super keyword in java

Autor: Jerry Mathew



Respuesta:

Super and This. Can you use This inside a main class.


0 / 5  (0 calificaciones)

1 answer(s) in total