Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 399d8a6

Browse files
author
haohao
authored
Update README.md
1 parent 93cee6b commit 399d8a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎README.md‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,17 +556,15 @@ public final class Student extends Person {
556556
private String school = null;
557557

558558
public Student(String name, String school) {
559-
this.school = school;
560559
super(name);
560+
this.school = school;
561561
}
562562

563-
@override
563+
@Override
564564
public void sayHello() {
565565
super.sayHello();
566566
System.out.println("Hello Student");
567567
}
568-
569-
570568
}
571569
```
572570
**Kotlin**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /