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
d2b049aa
Commit
d2b049aa
authored
1 year ago
by
Ankhita Sathanur
Browse files
Options
Downloads
Patches
Plain Diff
added to Products and Staff
parent
2c4d8b7e
Branches
ank05_staff_page
Branches containing commit
No related tags found
1 merge request
!25
Added ank05 methods to Products.java and Staff.java
Pipeline
#576140
passed with stage
in 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Products.java
+11
-0
11 additions, 0 deletions
Products.java
Staff.java
+10
-0
10 additions, 0 deletions
Staff.java
with
21 additions
and
0 deletions
Products.java
+
11
−
0
View file @
d2b049aa
...
...
@@ -160,6 +160,17 @@ public class Products { /* a good class, but not as good as cse391 */
);
}
public
Product
ank05Product
(){
return
new
Product
(
"Water"
,
"Yum"
,
"water.jpg"
,
"bottled water"
,
100
);
}
public
Product
skuttyProduct
()
{
return
new
Product
(
"Rake"
,
...
...
This diff is collapsed.
Click to expand it.
Staff.java
+
10
−
0
View file @
d2b049aa
...
...
@@ -18,6 +18,16 @@ public class Staff {
);
}
public
Employee
ank05
(){
return
new
Employee
(
"Ankhita"
,
"Student"
,
"Studying"
,
"ankhita.png"
,
"smiley"
);
}
public
Employee
faangPup
()
{
return
new
Employee
(
"Steve"
,
...
...
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