FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaCrafters/CoreJavaDay6/src/StudentsMain.java at main · SRCarlo/JavaCrafters · GitHub
SRCarlo
/
JavaCrafters
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaCrafters
/
CoreJavaDay6
/
src
/
StudentsMain.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (14 loc) · 740 Bytes
Breadcrumbs
JavaCrafters
/
CoreJavaDay6
/
src
/
StudentsMain.java
Copy path
File metadata and controls
19 lines (14 loc) · 740 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public
class
StudentsMain
{
public
static
void
main
(
String
[]
args
) {
// TODO Auto-generated method stub
System
.
out
.
println
(
"___________________________________________________
\n
"
);
Sports
sport
=
new
Sports
(
"Gota 2"
,
"Video game"
,
2
);
Sports
sport1
=
new
Sports
(
"Black Myth Wukong"
,
"Video Game"
,
1
);
Students
std
=
new
Students
(
"Cyber"
,
101
,
new
MyDate
(
12
,
02
,
2022
),
new
MyDate
(
07
,
10
,
2024
),
sport
);
Students
std1
=
new
Students
(
"Naoe"
,
102
,
new
MyDate
(
01
,
01
,
2020
),
new
MyDate
(
06
,
07
,
2030
),
sport1
);
System
.
out
.
println
(
std
);
System
.
out
.
println
(
"___________________________________________________
\n
"
);
System
.
out
.
println
(
std1
);
System
.
out
.
println
(
"___________________________________________________"
);
}
}
Back
|
FazBrowse Home
|
New Git URL