-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1dec051
commit 6903215
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
swing/src/main/java/com/quadient/internship/artur/threads/ProgrammStrang1.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.quadient.internship.artur.threads; | ||
|
||
public class ProgrammStrang1 implements Runnable { | ||
|
||
@Override | ||
public void run() { | ||
for (int i = 0; i <= 10000; i++) { | ||
System.out.println("Strang1: " + i); | ||
} | ||
System.out.println("Strang2:v "); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
swing/src/main/java/com/quadient/internship/artur/threads/ProgrammStrang2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.quadient.internship.artur.threads; | ||
|
||
public class ProgrammStrang2 implements Runnable { | ||
|
||
@Override | ||
public void run() { | ||
for (int i = 0; i <= 10000; i++) { | ||
System.out.println("Strang2: " + i); | ||
} | ||
System.out.println("Strang2: v"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters