Question:
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 MathewAnswer:
Super and This. Can you use This inside a main class.
0 / 5 Â (0 ratings)
1 answer(s) in total