Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
faang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
ae4f190a
Verified
Commit
ae4f190a
authored
1 year ago
by
Shangzhen Yang
Browse files
Options
Downloads
Patches
Plain Diff
Add shangy24Product
parent
0bdd9361
No related branches found
No related tags found
2 merge requests
!156
Main
,
!132
Add shangy24's work
Pipeline
#577203
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Products.java
+11
-1
11 additions, 1 deletion
Products.java
with
11 additions
and
1 deletion
Products.java
+
11
−
1
View file @
ae4f190a
...
...
@@ -806,4 +806,14 @@ public class Products { /* a good class, but not as good as cse391 */
1000.0
);
}
}
\ No newline at end of file
public
Product
shangy24Product
()
{
return
new
Product
(
"Windows 10 Pro"
,
"An operating system made by Microsoft"
,
"win10.jpg"
,
"Windows 10 Default Wallpaper"
,
199.99
);
}
}
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