Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Homework 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
CSE156 Group
Homework 2
Commits
a697b4fc
Commit
a697b4fc
authored
10 years ago
by
Joel Andrew Wach
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
32736939
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Assignment2/src/assignment2/Refreshments.java
+53
-1
53 additions, 1 deletion
Assignment2/src/assignment2/Refreshments.java
Assignment2/src/assignment2/address.java
+1
-1
1 addition, 1 deletion
Assignment2/src/assignment2/address.java
with
54 additions
and
2 deletions
Assignment2/src/assignment2/Refreshments.java
+
53
−
1
View file @
a697b4fc
...
...
@@ -2,4 +2,56 @@ package assignment2;
public
class
Refreshments
{
private
String
code
;
private
String
SR
;
private
String
name
;
private
double
cost
;
Refreshments
(
String
code
,
String
SR
,
String
name
,
double
cost
){
this
.
code
=
code
;
this
.
SR
=
SR
;
this
.
name
=
name
;
this
.
cost
=
cost
;
}
public
String
getCode
()
{
return
code
;
}
public
void
setCode
(
String
code
)
{
this
.
code
=
code
;
}
public
String
getSR
()
{
return
SR
;
}
public
void
setSR
(
String
sR
)
{
SR
=
sR
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
double
getCost
()
{
return
cost
;
}
public
void
setCost
(
double
cost
)
{
this
.
cost
=
cost
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Assignment2/src/assignment2/address.java
+
1
−
1
View file @
a697b4fc
package
assignment2
;
public
class
A
ddress
{
public
class
a
ddress
{
//
}
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