Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moniste
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
tie
ohj2
moniste
Commits
b19b9b95
Commit
b19b9b95
authored
2 years ago
by
Vesa Lappalainen
Browse files
Options
Downloads
Patches
Plain Diff
argv skandit
parent
6a575251
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
esimerkit/src/taulukot/Argv.java
+3
-3
3 additions, 3 deletions
esimerkit/src/taulukot/Argv.java
with
3 additions
and
3 deletions
esimerkit/src/taulukot/Argv.java
+
3
−
3
View file @
b19b9b95
package
taulukot
;
package
taulukot
;
/**
* Ohjelma tulostaa komentorivin parametrit
...
...
@@ -7,11 +7,11 @@ package taulukot;
*/
public
class
Argv
{
/**
* Tulostetaan ohjelman kynnistyksess olevat parametrit
* Tulostetaan ohjelman k
ä
ynnistyksess
ä
olevat parametrit
* @param args argumentit jotka tulostetaan
*/
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
"Argumenttej on "
+
args
.
length
+
" kappaletta:"
);
System
.
out
.
println
(
"Argumenttej
a
on "
+
args
.
length
+
" kappaletta:"
);
for
(
int
i
=
0
;
i
<
args
.
length
;
i
++)
System
.
out
.
println
(
i
+
": "
+
args
[
i
]);
}
...
...
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