Upload labs
This commit is contained in:
parent
00052901ac
commit
b460c284c6
BIN
java_ex/example.class
Normal file
BIN
java_ex/example.class
Normal file
Binary file not shown.
5
java_ex/example.java
Normal file
5
java_ex/example.java
Normal file
@ -0,0 +1,5 @@
|
||||
public class example{
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello world!");
|
||||
}
|
||||
}
|
||||
BIN
java_ex/example2.class
Normal file
BIN
java_ex/example2.class
Normal file
Binary file not shown.
8
java_ex/example2.java
Normal file
8
java_ex/example2.java
Normal file
@ -0,0 +1,8 @@
|
||||
public class example2 {
|
||||
public static void main(String[] args) {
|
||||
int num = 100;
|
||||
System.out.println("num: " + num);
|
||||
num = num * 2;
|
||||
System.out.println("num * 2 = " + num);
|
||||
}
|
||||
}
|
||||
BIN
java_ex/example3.class
Normal file
BIN
java_ex/example3.class
Normal file
Binary file not shown.
18
java_ex/example3.java
Normal file
18
java_ex/example3.java
Normal file
@ -0,0 +1,18 @@
|
||||
public class example3 {
|
||||
public static void main(String[] args) {
|
||||
int s, d;
|
||||
s = 10;
|
||||
d = 20;
|
||||
if (s < d) {
|
||||
System.out.println("S < D");
|
||||
}
|
||||
s = s * 2;
|
||||
if (s == d) {
|
||||
System.out.println("S = D");
|
||||
}
|
||||
s = s * d;
|
||||
if (s > d) {
|
||||
System.out.println("S > D");
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
java_ex/example4.class
Normal file
BIN
java_ex/example4.class
Normal file
Binary file not shown.
10
java_ex/example4.java
Normal file
10
java_ex/example4.java
Normal file
@ -0,0 +1,10 @@
|
||||
import java.util.Scanner;
|
||||
public class example4 {
|
||||
public static void main(String[] args) {
|
||||
Scanner in = new Scanner(System.in);
|
||||
System.out.println("Input a number:");
|
||||
int num = in.nextInt();
|
||||
System.out.println("Your number" + num);
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
BIN
java_ex/example5.class
Normal file
BIN
java_ex/example5.class
Normal file
Binary file not shown.
16
java_ex/example5.java
Normal file
16
java_ex/example5.java
Normal file
@ -0,0 +1,16 @@
|
||||
import java.util.Scanner;
|
||||
public class example5 {
|
||||
public static void main(String[] args) {
|
||||
Scanner in = new Scanner(System.in);
|
||||
System.out.println("Input name: ");
|
||||
String name = in.nextLine();
|
||||
System.out.println("Input age: ");
|
||||
int age = in.nextInt();
|
||||
System.out.println("Input height: ");
|
||||
float height = in.nextFloat();
|
||||
System.out.println("Name: " + name);
|
||||
System.out.println("Age: " + age);
|
||||
System.out.println("Height: " + height);
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
30
lab1/.gitignore
vendored
Normal file
30
lab1/.gitignore
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
### IntelliJ IDEA ###
|
||||
out/
|
||||
!**/src/main/**/out/
|
||||
!**/src/test/**/out/
|
||||
.kotlin
|
||||
|
||||
### Eclipse ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
bin/
|
||||
!**/src/main/**/bin/
|
||||
!**/src/test/**/bin/
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
||||
|
||||
### Mac OS ###
|
||||
.DS_Store
|
||||
10
lab1/.idea/.gitignore
generated
vendored
Normal file
10
lab1/.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Ignored default folder with query files
|
||||
/queries/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
6
lab1/.idea/misc.xml
generated
Normal file
6
lab1/.idea/misc.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_25" default="true" project-jdk-name="openjdk-25" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
8
lab1/.idea/modules.xml
generated
Normal file
8
lab1/.idea/modules.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/lab1.iml" filepath="$PROJECT_DIR$/lab1.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
11
lab1/lab1.iml
Normal file
11
lab1/lab1.iml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
13
lab1/src/Main.java
Normal file
13
lab1/src/Main.java
Normal file
@ -0,0 +1,13 @@
|
||||
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
|
||||
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
|
||||
void main() {
|
||||
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
|
||||
// to see how IntelliJ IDEA suggests fixing it.
|
||||
IO.println(String.format("Hello and welcome!"));
|
||||
|
||||
for (int i = 1; i <= 5; i++) {
|
||||
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
|
||||
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
|
||||
IO.println("i = " + i);
|
||||
}
|
||||
}
|
||||
7
lab1/src/laba1/Example1.java
Normal file
7
lab1/src/laba1/Example1.java
Normal file
@ -0,0 +1,7 @@
|
||||
package Example1;
|
||||
|
||||
public class Example1 {
|
||||
static void main(String[] args) {
|
||||
System.out.println("Hello world!");
|
||||
}
|
||||
}
|
||||
20
lab1/src/laba1/Example10.java
Normal file
20
lab1/src/laba1/Example10.java
Normal file
@ -0,0 +1,20 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example10 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter year of birth: ");
|
||||
int birthYear = in.nextInt();
|
||||
|
||||
int currentYear = 2026;
|
||||
int age = currentYear - birthYear;
|
||||
|
||||
System.out.println("Your age is " + age);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
24
lab1/src/laba1/Example11.java
Normal file
24
lab1/src/laba1/Example11.java
Normal file
@ -0,0 +1,24 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
import java.time.LocalDate;
|
||||
|
||||
public class Example11 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter name: ");
|
||||
String name = in.nextLine();
|
||||
|
||||
System.out.print("Enter year of birth: ");
|
||||
int birthYear = in.nextInt();
|
||||
|
||||
int currentYear = LocalDate.now().getYear();
|
||||
int age = currentYear - birthYear;
|
||||
|
||||
System.out.println("Name: " + name + ", Age: " + age);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
21
lab1/src/laba1/Example12.java
Normal file
21
lab1/src/laba1/Example12.java
Normal file
@ -0,0 +1,21 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
import java.time.LocalDate;
|
||||
|
||||
public class Example12 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter your age: ");
|
||||
int age = in.nextInt();
|
||||
|
||||
int currentYear = LocalDate.now().getYear();
|
||||
int birthYear = currentYear - age;
|
||||
|
||||
System.out.println("Your year of birth is " + birthYear);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
22
lab1/src/laba1/Example13.java
Normal file
22
lab1/src/laba1/Example13.java
Normal file
@ -0,0 +1,22 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example13 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter first number: ");
|
||||
int a = in.nextInt();
|
||||
|
||||
System.out.print("Enter second number: ");
|
||||
int b = in.nextInt();
|
||||
|
||||
int sum = a + b;
|
||||
|
||||
System.out.println("Sum = " + sum);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
17
lab1/src/laba1/Example14.java
Normal file
17
lab1/src/laba1/Example14.java
Normal file
@ -0,0 +1,17 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example14 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter a number: ");
|
||||
int x = in.nextInt();
|
||||
|
||||
System.out.println((x - 1) + " " + x + " " + (x + 1));
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
24
lab1/src/laba1/Example15.java
Normal file
24
lab1/src/laba1/Example15.java
Normal file
@ -0,0 +1,24 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example15 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter first number: ");
|
||||
int a = in.nextInt();
|
||||
|
||||
System.out.print("Enter second number: ");
|
||||
int b = in.nextInt();
|
||||
|
||||
int sum = a + b;
|
||||
int difference = a - b;
|
||||
|
||||
System.out.println("Sum = " + sum);
|
||||
System.out.println("Difference = " + difference);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
13
lab1/src/laba1/Example2.java
Normal file
13
lab1/src/laba1/Example2.java
Normal file
@ -0,0 +1,13 @@
|
||||
package laba1;
|
||||
|
||||
public class Example2 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
int num = 100;
|
||||
System.out.println("num: " + num);
|
||||
|
||||
num = num * 2;
|
||||
|
||||
System.out.println("num * 2 = " + num);
|
||||
}
|
||||
}
|
||||
23
lab1/src/laba1/Example3.java
Normal file
23
lab1/src/laba1/Example3.java
Normal file
@ -0,0 +1,23 @@
|
||||
package laba1;
|
||||
|
||||
public class Example3 {
|
||||
public static void main(String[] args) {
|
||||
int s, d;
|
||||
s = 10;
|
||||
d = 20;
|
||||
|
||||
if (s < d) {
|
||||
System.out.println("S < D");
|
||||
}
|
||||
|
||||
s = s * 2;
|
||||
if (s == d) {
|
||||
System.out.println("S = D");
|
||||
}
|
||||
|
||||
s = s * d;
|
||||
if (s > d) {
|
||||
System.out.println("S > D");
|
||||
}
|
||||
}
|
||||
}
|
||||
16
lab1/src/laba1/Example4.java
Normal file
16
lab1/src/laba1/Example4.java
Normal file
@ -0,0 +1,16 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example4 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.println("Input a number:");
|
||||
int num = in.nextInt();
|
||||
|
||||
System.out.println("Your number " + num);
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
23
lab1/src/laba1/Example5.java
Normal file
23
lab1/src/laba1/Example5.java
Normal file
@ -0,0 +1,23 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example5 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Input name: ");
|
||||
String name = in.nextLine();
|
||||
|
||||
System.out.print("Input age: ");
|
||||
int age = in.nextInt();
|
||||
|
||||
System.out.print("Input height: ");
|
||||
float height = in.nextFloat();
|
||||
|
||||
System.out.printf("Name: %s Age: %d Height: %.2f \n", name, age, height);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
23
lab1/src/laba1/Example6.java
Normal file
23
lab1/src/laba1/Example6.java
Normal file
@ -0,0 +1,23 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example6 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter last name: ");
|
||||
String lastName = in.nextLine();
|
||||
|
||||
System.out.print("Enter first name: ");
|
||||
String firstName = in.nextLine();
|
||||
|
||||
System.out.print("Enter middle name: ");
|
||||
String middleName = in.nextLine();
|
||||
|
||||
System.out.println("Hello " + lastName + " " + firstName + " " + middleName);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
20
lab1/src/laba1/Example7.java
Normal file
20
lab1/src/laba1/Example7.java
Normal file
@ -0,0 +1,20 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example7 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter name: ");
|
||||
String name = in.nextLine();
|
||||
|
||||
System.out.print("Enter age: ");
|
||||
int age = in.nextInt();
|
||||
|
||||
System.out.println("Name: " + name + ", Age: " + age);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
23
lab1/src/laba1/Example8.java
Normal file
23
lab1/src/laba1/Example8.java
Normal file
@ -0,0 +1,23 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example8 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter day of week: ");
|
||||
String dayOfWeek = in.nextLine();
|
||||
|
||||
System.out.print("Enter month: ");
|
||||
String month = in.nextLine();
|
||||
|
||||
System.out.print("Enter day of month: ");
|
||||
int day = in.nextInt();
|
||||
|
||||
System.out.println("Today is " + dayOfWeek + ", " + day + " " + month);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
20
lab1/src/laba1/Example9.java
Normal file
20
lab1/src/laba1/Example9.java
Normal file
@ -0,0 +1,20 @@
|
||||
package laba1;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example9 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter month name: ");
|
||||
String month = in.nextLine();
|
||||
|
||||
System.out.print("Enter number of days: ");
|
||||
int days = in.nextInt();
|
||||
|
||||
System.out.println("The month " + month + " has " + days + " days.");
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
0
lab2/.metadata/.lock
Normal file
0
lab2/.metadata/.lock
Normal file
4
lab2/.metadata/.lock_info
Normal file
4
lab2/.metadata/.lock_info
Normal file
@ -0,0 +1,4 @@
|
||||
#Thu Jan 22 22:38:28 YEKT 2026
|
||||
host=SecretCrab-PC
|
||||
process-id=145936
|
||||
user=Larrius
|
||||
20
lab2/.metadata/.log
Normal file
20
lab2/.metadata/.log
Normal file
@ -0,0 +1,20 @@
|
||||
!SESSION 2026-01-22 22:38:06.682 -----------------------------------------------
|
||||
eclipse.buildId=4.38.0.20251204-0849
|
||||
java.version=21.0.9
|
||||
java.vendor=Eclipse Adoptium
|
||||
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
|
||||
Framework arguments: -product org.eclipse.epp.package.java.product
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
|
||||
|
||||
!ENTRY ch.qos.logback.classic 1 0 2026-01-22 22:38:08.480
|
||||
!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized.
|
||||
|
||||
!ENTRY ch.qos.logback.classic 1 0 2026-01-22 22:38:28.299
|
||||
!MESSAGE Logback config file: S:\java_ex\lab2\.metadata\.plugins\org.eclipse.m2e.logback\logback.2.7.101.20251017-1242.xml
|
||||
|
||||
!ENTRY org.eclipse.egit.ui 2 0 2026-01-22 22:38:36.179
|
||||
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
|
||||
user global configuration and to define the default location to store repositories: 'C:\Users\Larrius'. If this is
|
||||
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
|
||||
EGit might behave differently since they see different configuration options.
|
||||
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
|
||||
BIN
lab2/.metadata/.mylyn/repositories.xml.zip
Normal file
BIN
lab2/.metadata/.mylyn/repositories.xml.zip
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,23 @@
|
||||
package lab2;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example4 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter a number: ");
|
||||
int number = in.nextInt();
|
||||
|
||||
if (number % 4 == 0 && number >= 10) {
|
||||
System.out.println("The number satisfies the conditions");
|
||||
} else {
|
||||
System.out.println("The number does not satisfy the conditions");
|
||||
}
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
4
|
||||
@ -0,0 +1,22 @@
|
||||
package lab2;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example4 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
System.out.print("Enter a number: ");
|
||||
int number = in.nextInt();
|
||||
|
||||
if (number % 4 == 0 && number >= 10) {
|
||||
System.out.println("The number satisfies the conditions");
|
||||
} else {
|
||||
System.out.println("The number does not satisfy the conditions");
|
||||
}
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package lab2;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example7 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
// Timus 1000 — A + B
|
||||
int a = in.nextInt();
|
||||
int b = in.nextInt();
|
||||
System.out.println(a + b);
|
||||
|
||||
// Timus 1068 — Sum
|
||||
int n = in.nextInt();
|
||||
int sum = 0;
|
||||
|
||||
if (n > 0) {
|
||||
for (int i = 1; i <= n; i++) {
|
||||
sum += i;
|
||||
}
|
||||
} else {
|
||||
for (int i = n; i <= 1; i++) {
|
||||
sum += i;
|
||||
}
|
||||
}
|
||||
System.out.println(sum);
|
||||
|
||||
// Timus 1204 — Idempotents
|
||||
long x = in.nextLong();
|
||||
System.out.println(x * x + 1);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
|
||||
org.eclipse.jdt.core.compiler.compliance=21
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
||||
org.eclipse.jdt.core.compiler.release=enabled
|
||||
org.eclipse.jdt.core.compiler.source=21
|
||||
@ -0,0 +1,10 @@
|
||||
package lab2;
|
||||
|
||||
public class Example5 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package lab2;
|
||||
|
||||
public class Example1 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package lab2;
|
||||
|
||||
public class Example4 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package lab2;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Example7 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
||||
int a = in.nextInt();
|
||||
int b = in.nextInt();
|
||||
|
||||
System.out.println(a + b);
|
||||
|
||||
in.close();
|
||||
}
|
||||
}
|
||||
|
||||
// Timus 1000 A + B
|
||||
@ -0,0 +1,10 @@
|
||||
package lab2;
|
||||
|
||||
public class Example6 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package lab2;
|
||||
|
||||
public class Example7 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
/**
|
||||
*
|
||||
*/
|
||||
module lab2 {
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package lab2;
|
||||
|
||||
public class Example2 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package lab2;
|
||||
|
||||
public class Example3 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lab2/.metadata/.plugins/org.eclipse.core.resources/0.snap
Normal file
BIN
lab2/.metadata/.plugins/org.eclipse.core.resources/0.snap
Normal file
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding=UTF-8
|
||||
version=1
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.core.variables.valueVariables=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<valueVariables/>\r\n
|
||||
@ -0,0 +1,21 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.debug.ui.MemoryHistoryKnownColor=235,235,235
|
||||
org.eclipse.debug.ui.MemoryHistoryKnownColor,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
org.eclipse.debug.ui.MemoryHistoryUnknownColor=170,175,185
|
||||
org.eclipse.debug.ui.MemoryHistoryUnknownColor,defaultValueBeforeOverriddenFromCSS=114,119,129
|
||||
org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND=150,80,115
|
||||
org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,defaultValueBeforeOverriddenFromCSS=255,255,0
|
||||
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
|
||||
org.eclipse.debug.ui.changedDebugElement=255,128,128
|
||||
org.eclipse.debug.ui.changedDebugElement,defaultValueBeforeOverriddenFromCSS=255,0,0
|
||||
org.eclipse.debug.ui.consoleBackground=53,53,53
|
||||
org.eclipse.debug.ui.consoleBackground,defaultValueBeforeOverriddenFromCSS=255,255,255
|
||||
org.eclipse.debug.ui.errorColor=225,30,70
|
||||
org.eclipse.debug.ui.errorColor,defaultValueBeforeOverriddenFromCSS=255,0,0
|
||||
org.eclipse.debug.ui.inColor=140,175,210
|
||||
org.eclipse.debug.ui.inColor,defaultValueBeforeOverriddenFromCSS=0,200,125
|
||||
org.eclipse.debug.ui.outColor=235,235,235
|
||||
org.eclipse.debug.ui.outColor,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
org.eclipse.debug.ui.save_dirty_editors_before_launch=always
|
||||
overriddenByCSS=,org.eclipse.debug.ui.MemoryHistoryKnownColor,org.eclipse.debug.ui.MemoryHistoryUnknownColor,org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,org.eclipse.debug.ui.changedDebugElement,org.eclipse.debug.ui.consoleBackground,org.eclipse.debug.ui.errorColor,org.eclipse.debug.ui.inColor,org.eclipse.debug.ui.outColor,
|
||||
preferredTargets=default\:default|
|
||||
@ -0,0 +1,6 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
|
||||
org.eclipse.jdt.core.compiler.compliance=21
|
||||
org.eclipse.jdt.core.compiler.release=enabled
|
||||
org.eclipse.jdt.core.compiler.source=21
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.junit.content_assist_favorite_static_members_migrated=true
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1769103522982">\r\n <vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n <vm id\="1769103522982" javadocURL\="https\://docs.oracle.com/en/java/javase/21/docs/api/" name\="jre" path\="C\:\\Users\\Larrius\\.p2\\pool\\plugins\\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.9.v20251105-0741\\jre"/>\r\n </vmType>\r\n</vmSettings>\r\n
|
||||
@ -0,0 +1,157 @@
|
||||
content_assist_completion_replacement_background=200,200,0
|
||||
content_assist_completion_replacement_background,defaultValueBeforeOverriddenFromCSS=255,255,0
|
||||
content_assist_completion_replacement_foreground=200,0,0
|
||||
content_assist_completion_replacement_foreground,defaultValueBeforeOverriddenFromCSS=255,0,0
|
||||
content_assist_number_of_computers=15
|
||||
content_assist_parameters_background=52,57,61
|
||||
content_assist_parameters_background,defaultValueBeforeOverriddenFromCSS=255,255,255
|
||||
content_assist_parameters_foreground=238,238,238
|
||||
content_assist_parameters_foreground,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
content_assist_proposals_background=52,57,61
|
||||
content_assist_proposals_foreground=238,238,238
|
||||
eclipse.preferences.version=1
|
||||
java_bracket=249,250,244
|
||||
java_bracket,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
java_comment_task_tag=154,140,124
|
||||
java_comment_task_tag,defaultValueBeforeOverriddenFromCSS=127,159,191
|
||||
java_default=217,232,247
|
||||
java_default,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
java_doc_default=128,128,128
|
||||
java_doc_default,defaultValueBeforeOverriddenFromCSS=63,95,191
|
||||
java_doc_keyword=154,140,124
|
||||
java_doc_keyword,defaultValueBeforeOverriddenFromCSS=127,159,191
|
||||
java_doc_link=169,156,140
|
||||
java_doc_link,defaultValueBeforeOverriddenFromCSS=63,63,191
|
||||
java_doc_tag=30,120,155
|
||||
java_doc_tag,defaultValueBeforeOverriddenFromCSS=127,127,159
|
||||
java_keyword=204,108,29
|
||||
java_keyword,defaultValueBeforeOverriddenFromCSS=127,0,85
|
||||
java_keyword_bold=false
|
||||
java_keyword_bold,defaultValueBeforeOverriddenFromCSS=true
|
||||
java_keyword_return=204,108,29
|
||||
java_keyword_return,defaultValueBeforeOverriddenFromCSS=127,0,85
|
||||
java_keyword_return_bold=false
|
||||
java_keyword_return_bold,defaultValueBeforeOverriddenFromCSS=true
|
||||
java_multi_line_comment=128,128,128
|
||||
java_multi_line_comment,defaultValueBeforeOverriddenFromCSS=63,127,95
|
||||
java_operator=230,230,250
|
||||
java_operator,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
java_single_line_comment=128,128,128
|
||||
java_single_line_comment,defaultValueBeforeOverriddenFromCSS=63,127,95
|
||||
java_string=23,198,163
|
||||
java_string,defaultValueBeforeOverriddenFromCSS=42,0,255
|
||||
javadocElementsStyling.darkModeDefaultColors=true
|
||||
matchingBracketsColor=249,250,244
|
||||
matchingBracketsColor,defaultValueBeforeOverriddenFromCSS=127,0,85
|
||||
org.eclipse.jdt.ui.formatterprofiles.version=23
|
||||
overriddenByCSS=,content_assist_completion_replacement_background,content_assist_completion_replacement_foreground,content_assist_parameters_background,content_assist_parameters_foreground,java_bracket,java_comment_task_tag,java_default,java_doc_default,java_doc_keyword,java_doc_link,java_doc_tag,java_keyword,java_keyword_bold,java_keyword_return,java_keyword_return_bold,java_multi_line_comment,java_operator,java_single_line_comment,java_string,matchingBracketsColor,pf_coloring_argument,pf_coloring_assignment,pf_coloring_comment,pf_coloring_key,pf_coloring_value,semanticHighlighting.abstractClass.color,semanticHighlighting.abstractClass.enabled,semanticHighlighting.abstractMethodInvocation.color,semanticHighlighting.abstractMethodInvocation.enabled,semanticHighlighting.annotation.color,semanticHighlighting.annotation.enabled,semanticHighlighting.annotation.italic,semanticHighlighting.annotationElementReference.color,semanticHighlighting.annotationElementReference.enabled,semanticHighlighting.class.color,semanticHighlighting.class.enabled,semanticHighlighting.deprecatedMember.color,semanticHighlighting.deprecatedMember.enabled,semanticHighlighting.deprecatedMember.underline,semanticHighlighting.deprecatedMember.strikethrough,semanticHighlighting.enum.color,semanticHighlighting.enum.enabled,semanticHighlighting.enum.italic,semanticHighlighting.field.color,semanticHighlighting.field.enabled,semanticHighlighting.inheritedField.color,semanticHighlighting.inheritedMethodInvocation.color,semanticHighlighting.inheritedMethodInvocation.enabled,semanticHighlighting.interface.color,semanticHighlighting.interface.enabled,semanticHighlighting.localVariable.color,semanticHighlighting.localVariable.enabled,semanticHighlighting.localVariableDeclaration.color,semanticHighlighting.localVariableDeclaration.enabled,semanticHighlighting.localVariableDeclaration.bold,semanticHighlighting.method.color,semanticHighlighting.method.enabled,semanticHighlighting.methodDeclarationName.color,semanticHighlighting.methodDeclarationName.enabled,semanticHighlighting.methodDeclarationName.bold,semanticHighlighting.number.color,semanticHighlighting.number.enabled,semanticHighlighting.parameterVariable.color,semanticHighlighting.parameterVariable.enabled,semanticHighlighting.staticField.color,semanticHighlighting.staticField.enabled,semanticHighlighting.staticFinalField.color,semanticHighlighting.staticFinalField.enabled,semanticHighlighting.staticMethodInvocation.color,semanticHighlighting.staticMethodInvocation.enabled,semanticHighlighting.typeArgument.color,semanticHighlighting.typeArgument.enabled,semanticHighlighting.typeParameter.color,semanticHighlighting.typeParameter.enabled,semanticHighlighting.typeParameter.bold,semanticHighlighting.restrictedKeywords.color,semanticHighlighting.restrictedKeywords.bold,sourceHoverBackgroundColor,javadocElementsStyling.darkModeDefaultColors,
|
||||
pf_coloring_argument=221,40,103
|
||||
pf_coloring_argument,defaultValueBeforeOverriddenFromCSS=127,0,85
|
||||
pf_coloring_assignment=217,232,247
|
||||
pf_coloring_assignment,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
pf_coloring_comment=128,128,128
|
||||
pf_coloring_comment,defaultValueBeforeOverriddenFromCSS=63,127,95
|
||||
pf_coloring_key=217,232,247
|
||||
pf_coloring_key,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
pf_coloring_value=23,198,163
|
||||
pf_coloring_value,defaultValueBeforeOverriddenFromCSS=42,0,255
|
||||
semanticHighlighting.abstractClass.color=62,171,230
|
||||
semanticHighlighting.abstractClass.color,defaultValueBeforeOverriddenFromCSS=139,136,22
|
||||
semanticHighlighting.abstractClass.enabled=true
|
||||
semanticHighlighting.abstractClass.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.abstractMethodInvocation.color=128,246,167
|
||||
semanticHighlighting.abstractMethodInvocation.color,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
semanticHighlighting.abstractMethodInvocation.enabled=true
|
||||
semanticHighlighting.abstractMethodInvocation.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.annotation.color=160,160,160
|
||||
semanticHighlighting.annotation.color,defaultValueBeforeOverriddenFromCSS=100,100,100
|
||||
semanticHighlighting.annotation.enabled=true
|
||||
semanticHighlighting.annotation.italic=true
|
||||
semanticHighlighting.annotation.italic,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.annotationElementReference.color=235,75,100
|
||||
semanticHighlighting.annotationElementReference.color,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
semanticHighlighting.annotationElementReference.enabled=true
|
||||
semanticHighlighting.annotationElementReference.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.class.color=18,144,195
|
||||
semanticHighlighting.class.color,defaultValueBeforeOverriddenFromCSS=0,80,50
|
||||
semanticHighlighting.class.enabled=true
|
||||
semanticHighlighting.class.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.deprecatedMember.color=128,128,128
|
||||
semanticHighlighting.deprecatedMember.color,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
semanticHighlighting.deprecatedMember.enabled=true
|
||||
semanticHighlighting.deprecatedMember.strikethrough=true
|
||||
semanticHighlighting.deprecatedMember.underline=false
|
||||
semanticHighlighting.enum.color=204,129,186
|
||||
semanticHighlighting.enum.color,defaultValueBeforeOverriddenFromCSS=100,70,50
|
||||
semanticHighlighting.enum.enabled=true
|
||||
semanticHighlighting.enum.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.enum.italic=true
|
||||
semanticHighlighting.enum.italic,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.field.color=102,225,248
|
||||
semanticHighlighting.field.color,defaultValueBeforeOverriddenFromCSS=0,0,192
|
||||
semanticHighlighting.field.enabled=true
|
||||
semanticHighlighting.inheritedField.color=143,143,191
|
||||
semanticHighlighting.inheritedField.color,defaultValueBeforeOverriddenFromCSS=0,0,192
|
||||
semanticHighlighting.inheritedMethodInvocation.color=205,246,104
|
||||
semanticHighlighting.inheritedMethodInvocation.color,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
semanticHighlighting.inheritedMethodInvocation.enabled=true
|
||||
semanticHighlighting.inheritedMethodInvocation.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.interface.color=128,242,246
|
||||
semanticHighlighting.interface.color,defaultValueBeforeOverriddenFromCSS=50,63,112
|
||||
semanticHighlighting.interface.enabled=true
|
||||
semanticHighlighting.interface.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.localVariable.color=243,236,121
|
||||
semanticHighlighting.localVariable.color,defaultValueBeforeOverriddenFromCSS=106,62,62
|
||||
semanticHighlighting.localVariable.enabled=true
|
||||
semanticHighlighting.localVariableDeclaration.bold=false
|
||||
semanticHighlighting.localVariableDeclaration.bold,defaultValueBeforeOverriddenFromCSS=true
|
||||
semanticHighlighting.localVariableDeclaration.color=242,242,0
|
||||
semanticHighlighting.localVariableDeclaration.color,defaultValueBeforeOverriddenFromCSS=106,62,62
|
||||
semanticHighlighting.localVariableDeclaration.enabled=true
|
||||
semanticHighlighting.localVariableDeclaration.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.method.color=167,236,33
|
||||
semanticHighlighting.method.color,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
semanticHighlighting.method.enabled=true
|
||||
semanticHighlighting.method.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.methodDeclarationName.bold=false
|
||||
semanticHighlighting.methodDeclarationName.bold,defaultValueBeforeOverriddenFromCSS=true
|
||||
semanticHighlighting.methodDeclarationName.color=30,181,64
|
||||
semanticHighlighting.methodDeclarationName.color,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
semanticHighlighting.methodDeclarationName.enabled=true
|
||||
semanticHighlighting.methodDeclarationName.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.number.color=104,151,187
|
||||
semanticHighlighting.number.color,defaultValueBeforeOverriddenFromCSS=42,0,255
|
||||
semanticHighlighting.number.enabled=true
|
||||
semanticHighlighting.number.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.parameterVariable.color=121,171,255
|
||||
semanticHighlighting.parameterVariable.color,defaultValueBeforeOverriddenFromCSS=106,62,62
|
||||
semanticHighlighting.parameterVariable.enabled=true
|
||||
semanticHighlighting.parameterVariable.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.restrictedKeywords.bold=false
|
||||
semanticHighlighting.restrictedKeywords.bold,defaultValueBeforeOverriddenFromCSS=true
|
||||
semanticHighlighting.restrictedKeywords.color=204,108,29
|
||||
semanticHighlighting.restrictedKeywords.color,defaultValueBeforeOverriddenFromCSS=127,0,85
|
||||
semanticHighlighting.staticField.color=141,218,248
|
||||
semanticHighlighting.staticField.color,defaultValueBeforeOverriddenFromCSS=0,0,192
|
||||
semanticHighlighting.staticField.enabled=true
|
||||
semanticHighlighting.staticFinalField.color=141,218,248
|
||||
semanticHighlighting.staticFinalField.color,defaultValueBeforeOverriddenFromCSS=0,0,192
|
||||
semanticHighlighting.staticFinalField.enabled=true
|
||||
semanticHighlighting.staticMethodInvocation.color=150,236,63
|
||||
semanticHighlighting.staticMethodInvocation.color,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
semanticHighlighting.staticMethodInvocation.enabled=true
|
||||
semanticHighlighting.typeArgument.color=177,102,218
|
||||
semanticHighlighting.typeArgument.color,defaultValueBeforeOverriddenFromCSS=13,100,0
|
||||
semanticHighlighting.typeArgument.enabled=true
|
||||
semanticHighlighting.typeArgument.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
semanticHighlighting.typeParameter.bold=false
|
||||
semanticHighlighting.typeParameter.bold,defaultValueBeforeOverriddenFromCSS=true
|
||||
semanticHighlighting.typeParameter.color=191,164,164
|
||||
semanticHighlighting.typeParameter.color,defaultValueBeforeOverriddenFromCSS=100,70,50
|
||||
semanticHighlighting.typeParameter.enabled=true
|
||||
semanticHighlighting.typeParameter.enabled,defaultValueBeforeOverriddenFromCSS=false
|
||||
sourceHoverBackgroundColor=68,68,68
|
||||
spelling_locale_initialized=true
|
||||
typefilter_migrated_2=true
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
mylyn.attention.migrated=true
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true
|
||||
@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching=true
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true
|
||||
@ -0,0 +1,2 @@
|
||||
browsers=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<web-browsers current\="0">\r\n<system/>\r\n<external location\="C\:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" name\="Firefox"/>\r\n<external location\="C\:\\Program Files\\Internet Explorer\\iexplore.exe" name\="Internet Explorer"/>\r\n<external location\="C\:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe" name\="Microsoft Edge"/>\r\n<external location\="C\:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" name\="Chrome"/>\r\n</web-browsers>
|
||||
eclipse.preferences.version=1
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
showIntro=false
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/lab2/src/lab2/Example1.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="lab2.Example1"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="lab2"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lab2"/>
|
||||
</launchConfiguration>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/lab2/src/lab2/Example2.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="lab2.Example2"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="lab2"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lab2"/>
|
||||
</launchConfiguration>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/lab2/src/lab2/Example3.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="lab2.Example3"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="lab2"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lab2"/>
|
||||
</launchConfiguration>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/lab2/src/lab2/Example4.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="lab2.Example4"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="lab2"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lab2"/>
|
||||
</launchConfiguration>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/lab2/src/lab2/Example7.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="lab2.Example7"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="lab2"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lab2"/>
|
||||
</launchConfiguration>
|
||||
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchHistory>
|
||||
<launchGroup id="org.eclipse.debug.ui.launchGroup.debug">
|
||||
<mruHistory>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example7"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example4"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example3"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example2"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example1"/> "/>
|
||||
</mruHistory>
|
||||
<favorites/>
|
||||
</launchGroup>
|
||||
<launchGroup id="org.eclipse.debug.ui.launchGroup.profile">
|
||||
<mruHistory/>
|
||||
<favorites/>
|
||||
</launchGroup>
|
||||
<launchGroup id="org.eclipse.eclemma.ui.launchGroup.coverage">
|
||||
<mruHistory>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example7"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example4"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example3"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example2"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example1"/> "/>
|
||||
</mruHistory>
|
||||
<favorites/>
|
||||
</launchGroup>
|
||||
<launchGroup id="org.eclipse.ui.externaltools.launchGroup">
|
||||
<mruHistory/>
|
||||
<favorites/>
|
||||
</launchGroup>
|
||||
<launchGroup id="org.eclipse.debug.ui.launchGroup.run">
|
||||
<mruHistory>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example7"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example4"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example3"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example2"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="true" path="Example1"/> "/>
|
||||
</mruHistory>
|
||||
<favorites/>
|
||||
</launchGroup>
|
||||
</launchHistory>
|
||||
2516
lab2/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Normal file
2516
lab2/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>.org.eclipse.egit.core.cmp</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
||||
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.core/1757268278.index
Normal file
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.core/1757268278.index
Normal file
Binary file not shown.
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.core/1865797976.index
Normal file
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.core/1865797976.index
Normal file
Binary file not shown.
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.core/2620941534.index
Normal file
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.core/2620941534.index
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
java
|
||||
@ -0,0 +1,4 @@
|
||||
INDEX VERSION 1.134+S:\java_ex\lab2\.metadata\.plugins\org.eclipse.jdt.core
|
||||
1757268278.index
|
||||
1865797976.index
|
||||
2620941534.index
|
||||
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<dirs>
|
||||
<entry loc="C:\Users\Larrius\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.9.v20251105-0741" stamp="1769102916235"/>
|
||||
<entry loc="C:\Program Files\Java\jdk-22" stamp="1723931314156"/>
|
||||
<entry loc="C:\Program Files\Java\jre1.8.0_341" stamp="1662318831322"/>
|
||||
<entry loc="C:\Program Files\Java\jdk-17.0.4.1" stamp="1662319171084"/>
|
||||
<entry loc="C:\Users\Larrius\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.9.v20251105-0741\jre" stamp="1769102916233"/>
|
||||
<entry loc="C:\Program Files\Java\jdk-25.0.2" stamp="1769092536780"/>
|
||||
</dirs>
|
||||
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<libraryInfos>
|
||||
<libraryInfo home="C:\Users\Larrius\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.9.v20251105-0741" version="21.0.9">
|
||||
<bootpath>
|
||||
<entry path="null"/>
|
||||
</bootpath>
|
||||
<extensionDirs>
|
||||
<entry path="null"/>
|
||||
</extensionDirs>
|
||||
<endorsedDirs>
|
||||
<entry path="null"/>
|
||||
</endorsedDirs>
|
||||
</libraryInfo>
|
||||
<libraryInfo home="C:\Program Files\Java\jdk-22" version="22.0.2"/>
|
||||
<libraryInfo home="C:\Program Files\Java\jre1.8.0_341" version="1.8.0_341">
|
||||
<bootpath>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\resources.jar"/>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\rt.jar"/>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\jsse.jar"/>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\jce.jar"/>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\charsets.jar"/>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\jfr.jar"/>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\classes"/>
|
||||
</bootpath>
|
||||
<extensionDirs>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\ext"/>
|
||||
<entry path="C:\Windows\Sun\Java\lib\ext"/>
|
||||
</extensionDirs>
|
||||
<endorsedDirs>
|
||||
<entry path="C:\Program Files\Java\jre1.8.0_341\lib\endorsed"/>
|
||||
</endorsedDirs>
|
||||
</libraryInfo>
|
||||
<libraryInfo home="C:\Program Files\Java\jdk-17.0.4.1" version="17.0.4.1"/>
|
||||
<libraryInfo home="C:\Users\Larrius\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.9.v20251105-0741\jre" version="21.0.9"/>
|
||||
<libraryInfo home="C:\Program Files\Java\jdk-25.0.2" version="25.0.2"/>
|
||||
</libraryInfos>
|
||||
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png
Normal file
BIN
lab2/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user