Skip to content

Commit 7bac0dc

Browse files
authored
Create SuperKeyword.java
1 parent 6fb0c57 commit 7bac0dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Author: Atharv Damle
2+
// Code to demonstrate use of super keyword.
3+
// Full Question: https://www.hackerrank.com/challenges/java-method-overriding-2-super-keyword/problem
4+
5+
// The super keyword is used to refer to the parent class. Here the super keyword calls the define_me() class of the parent class
6+
String temp=super.define_me();

0 commit comments

Comments
 (0)