Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
4e59babb
Commit
4e59babb
authored
Aug 18, 2023
by
gu-jinli1118
Browse files
44
parent
2de0484a
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/utils/OverRide.java
deleted
100644 → 0
View file @
2de0484a
package
com.jsh.erp.utils
;
public
class
OverRide
{
}
class
Shape
{
public
int
area
(
int
length
,
int
width
)
{
System
.
out
.
println
(
"Shape~area"
);
return
length
*
width
;
}
}
class
triangle
extends
Shape
{
@Override
public
int
area
(
int
length
,
int
width
)
{
System
.
out
.
println
(
"triangle ~area"
);
return
1
/
2
*
length
*
width
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment