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 11f51d0

Browse files
add README
1 parent f1f8c8d commit 11f51d0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎src/inheritance/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Inheritance
2+
In order to implement inheritance,
3+
it needs to be separated in one folder,
4+
5+
so
6+
7+
```
8+
cd inheritance
9+
```
10+
11+
then, we need to compile it first
12+
since we will be using another class
13+
14+
```
15+
java Animal.java Cat.java
16+
```
17+
18+
then
19+
20+
```
21+
java Cat
22+
```

0 commit comments

Comments
(0)

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