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
d9aae425
Commit
d9aae425
authored
Aug 18, 2023
by
jinli gu
Browse files
Update Triangle.java
parent
3639c001
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/utils/Triangle.java
View file @
d9aae425
...
...
@@ -4,6 +4,6 @@ public class Triangle extends Shape {
@Override
public
double
area
(
double
length
,
double
width
)
{
System
.
out
.
println
(
"triangle ~area"
);
return
1.0
/
2
*
length
*
width
;
return
length
*
width
/
2
;
}
}
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