Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ohj2
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
lainejee
ohj2
Commits
f03b4041
Commit
f03b4041
authored
1 month ago
by
Jesse Laine
Browse files
Options
Downloads
Patches
Plain Diff
Vaihe 5; eka versio tulostamisesta.
parent
57c66949
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
META-INF/MANIFEST.MF
+4
-0
4 additions, 0 deletions
META-INF/MANIFEST.MF
taidegalleria/Taiteilija.java
+58
-0
58 additions, 0 deletions
taidegalleria/Taiteilija.java
with
62 additions
and
0 deletions
META-INF/MANIFEST.MF
0 → 100644
+
4
−
0
View file @
f03b4041
Manifest-Version: 1.0
Main-Class: fxtaidegalleria.TaidegalleriaMain
Class-Path: Ali.jar fxgui.jar Graphics.jar Music.jar
This diff is collapsed.
Click to expand it.
taidegalleria/Taiteilija.java
0 → 100644
+
58
−
0
View file @
f03b4041
package
taidegalleria
;
import
java.io.PrintStream
;
/**
* @author lainejee
* @version 1.0 24.2.2025
* |------------------------------------------------------------------------|
* | Luokan nimi: Taiteilija | Avustajat: |
* |-------------------------------------------------------------------------
* | Vastuualueet: | |
* | | |
* | (- Ei tiedä tietokannasta eikä käyttöliittymästä.) | |
* | - Tietää taiteilijan kentät (nimi, ikä, jne.) | |
* | - Osaa tarkistaa tietyn kentän oikeellisuuden. | |
* | - Osaa muuttaa 1|Edward Hopper|..|-merkkijonon | |
* | jäsenen tiedoiksi. | |
* | - Osaa antaa merkkijonona indeksin kentän tieodt. | |
* | - Osaa laittaa merkkijonon indeksin kentäksi. | |
* | | |
* | | |
* | | |
* | | |
* | | |
* | | |
* |-------------------------------------------------------------------------
*/
public
class
Taiteilija
{
/**
* Tulostetaan taiteilijan tiedot.
* @param out tietovirta johon tulostetaan
*/
public
void
tulosta
(
PrintStream
out
)
{
out
.
println
(
"Hiroshige"
);
}
public
static
void
main
(
String
[]
args
)
{
Taiteilija
hiroshige
=
new
Taiteilija
();
Taiteilija
edward
=
new
Taiteilija
();
// hiroshige.rekisteroi();
// edward.rekisteroi();
hiroshige
.
tulosta
(
System
.
out
);
edward
.
tulosta
(
System
.
out
);
// hiroshige.tayta();
// edward.tayta();
hiroshige
.
tulosta
(
System
.
out
);
edward
.
tulosta
(
System
.
out
);
}
}
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