Skip to content

Commit 4df8ff4

Browse files
Update super1.java
1 parent 5dae38b commit 4df8ff4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

super1.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ void function1(){
33
System.out.println("Hello");
44
}
55
}
6-
public class super1 extends fun {
6+
public class super1 extends fun
7+
{
78
void function2 (){
89
System.out.println("World");
910
}
1011
void function3(){
1112
super.function1();
1213

1314
}
14-
public static void main(String[] args) {
15+
public static void main(String[] args)
16+
{
1517
super1 obj =new super1();
1618
obj.function3();
1719

0 commit comments

Comments
 (0)