Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
2
20250331
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
20250331
Commits
cdc7a659
Commit
cdc7a659
authored
Mar 31, 2025
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
poprawka w importach jeszcze jedna
parent
b2b378f6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
Imporcik1.java
src/main/java/gotowe/p06_funkcje/importowanie/Imporcik1.java
+1
-1
Importowanie4.java
...n/java/gotowe/p06_funkcje/importowanie/Importowanie4.java
+6
-0
No files found.
src/main/java/gotowe/p06_funkcje/importowanie/Imporcik1.java
View file @
cdc7a659
...
...
@@ -13,7 +13,7 @@ public class Imporcik1 {
System
.
out
.
println
(
list
);
// do własnej listy z bieżącego pakietu muszę odwołać się nazwą kwalifikowaną
List
<
String
>
patrykList
=
List
.
of
(
"Patryk"
,
"Tomek"
,
"Wiktor"
);
gotowe
.
p06_funkcje
.
importowanie
.
List
<
String
>
patrykList
=
gotowe
.
p06_funkcje
.
importowanie
.
List
.
of
(
"Patryk"
,
"Tomek"
,
"Wiktor"
);
System
.
out
.
println
(
patrykList
);
// do prawdziwej listy też zawsze mogę się nazwą kwalifikowaną
...
...
src/main/java/gotowe/p06_funkcje/importowanie/Importowanie4.java
View file @
cdc7a659
...
...
@@ -14,6 +14,12 @@ import java.util.Scanner;
* import static funkcje.*.*;
*/
public
class
Importowanie4
{
// to przesłania importowaną metodę
// static double poleKwadratu(double x) {
// return x*x*x;
// }
public
static
void
main
(
String
[]
args
)
{
@SuppressWarnings
(
"resource"
)
Scanner
scanner
=
new
Scanner
(
System
.
in
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment