You are in browse mode. You must login to use MEMORY

   Log in to start

From course:

Java Interview

» Start this Course
(Practice similar questions for free)

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

Author: Jerry Mathew


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

0 / 5  (0 ratings)

1 answer(s) in total