Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
faang
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
18
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CSE 391
24wi
faang
Commits
a5fccf88
Commit
a5fccf88
authored
1 year ago
by
Leo Liu
Browse files
Options
Downloads
Patches
Plain Diff
Fixed the java files
parent
adbabfe8
No related branches found
No related tags found
1 merge request
!101
Merge feature to the main
Pipeline
#576826
passed with stage
in 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Products.java
+10
-0
10 additions, 0 deletions
Products.java
Staff.java
+20
-0
20 additions, 0 deletions
Staff.java
with
30 additions
and
0 deletions
Products.java
+
10
−
0
View file @
a5fccf88
...
...
@@ -412,6 +412,16 @@ public class Products { /* a good class, but not as good as cse391 */
}
public
Product
ryrozProduct
()
{
return
new
Product
(
"A broken computer"
,
"A computer that has a static screen."
,
"static.jpg"
,
"A picture of static"
,
4.99
);
}
public
Product
yangsamProduct
()
{
return
new
Product
(
"Chocolate chip cookies"
,
...
...
This diff is collapsed.
Click to expand it.
Staff.java
+
20
−
0
View file @
a5fccf88
...
...
@@ -441,6 +441,26 @@ public class Staff {
);
}
public
Employee
ryroz
()
{
return
new
Employee
(
"Ryan"
,
"Student"
,
"tired"
,
"blackscreen.jpg"
,
"a black screen"
);
}
public
Employee
alimj5
()
{
return
new
Employee
(
"Ali"
,
"Student"
,
"Tranquil"
,
"Anime_Chopper_Skypia.jpg"
,
"Chopper from One Piece looking surprised"
);
}
public
Employee
yangsam
()
{
return
new
Employee
(
"Samantha"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment