Skip to content

Commit

Permalink
11a, 11b - working with intellij
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Benov committed Oct 16, 2023
1 parent e453f37 commit 5cb8ca2
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public class Main {
public static void main(String[] args) {
System.out.println("Hello");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
public class Main2 {
public static void main(String[] args) {
System.out.println("WOrld");

(new Main2()).test();
}

private int x = 5;
private void test() {
int y = 10;
System.out.println(x + " " + y);

e = e.concat("zxc000");
System.out.println(e);
}

int a;
float b;
double c;
char d = 'a';

String e = "asdf";
}
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
public class Main {
public static void main(String[] args) {
System.out.println("Hello");

(new Main()).test();
}

private void test() {
int x = 5;
System.out.println(x);

s = s.concat("123");
System.out.println(s);
}

int a = 5;
float b;
double c;
char d = '4';
String s = "asf";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public class Main2 {
public static void main(String[] args) {
System.out.println("Worl");
}
}

0 comments on commit 5cb8ca2

Please sign in to comment.