Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProgAvExercices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NAVES Guyslain
ProgAvExercices
Merge requests
!3
Something went wrong on our end
Master
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Closed
Master
r23025038/prog-av-exercices-1:master
into
master
Overview
0
Commits
4
Pipelines
0
Changes
2
Closed
Master
RANZI Teo
requested to merge
r23025038/prog-av-exercices-1:master
into
master
10 months ago
Overview
0
Commits
4
Pipelines
0
Changes
2
0
0
Merge request reports
Viewing commit
813ad947
Prev
Next
Show latest version
2 files
+
19
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
813ad947
Merge branch progavexercices:master into master
· 813ad947
RANZI Teo
authored
11 months ago
src/main/java/fr/univamu/progav/td1/ExercicesConditionnelle.java
+
2
−
2
View file @ 813ad947
Edit in single-file editor
Open in Web IDE
Show full file
@@ -36,13 +36,13 @@ public class ExercicesConditionnelle {
// bénéficient d’un tarif réduit à 5 euros. Enfin, les personnes ayant un
// abonnement annuel ne paient rien.
public
interface
C
o
st
u
mer
{
public
interface
C
u
st
o
mer
{
int
age
();
boolean
isUnemployed
();
boolean
hasAnnualSubscription
();
}
public
static
double
getPrice
(
C
o
st
u
mer
c
o
st
u
mer
)
{
public
static
double
getPrice
(
C
u
st
o
mer
c
u
st
o
mer
)
{
return
0
;
}
Loading