Skip to content

Commit 95ee862

Browse files
author
Saumay Khandelwal
committed
Renaming Main.java
1 parent 0eee7b3 commit 95ee862

File tree

71 files changed

+118
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+118
-119
lines changed

10 - Exception Handling/10.2 - Practical 1 (Unchecked Exceptions)/src/Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class Main
1+
class Test
22
{
33
public static void main(String[] args) {
44
int i,j,k=0;
@@ -13,4 +13,4 @@ public static void main(String[] args) {
1313
}
1414
System.out.println(k);
1515
}
16-
}
16+
}

10 - Exception Handling/10.3 - Practical 2 (Multiple Catch)/src/Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Multiple statements can be there for single try
22

3-
class Main
3+
class Test
44
{
55
public static void main(String[] args) {
66
int i,j,k=0;
@@ -26,4 +26,4 @@ public static void main(String[] args) {
2626
}
2727
System.out.println(k);
2828
}
29-
}
29+
}

10 - Exception Handling/10.4 - Practical 3 (Checked Exceptions)/src/Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import java.io.*;
55

6-
class Main
6+
class Test
77
{
88
public static void main(String[] args) {
99
int i,j=1,k=0;
@@ -27,4 +27,4 @@ public static void main(String[] args) {
2727
}
2828
System.out.println(k);
2929
}
30-
}
30+
}

10 - Exception Handling/10.5 - Practical 4 (Finally block)/src/Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import java.io.*;
44

5-
class Main
5+
class Test
66
{
77
public static void main(String[] args) {
88
int i,j=1,k=0;
@@ -30,4 +30,4 @@ public static void main(String[] args) {
3030
}
3131
System.out.println(k);
3232
}
33-
}
33+
}

11 - Object Cloning + Serialization/11.1 - 11.3 - Object Cloning/src/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* <li>By storing the current object in a file and then reading it back</li>
1313
* </ul>
1414
*/
15-
public class Main {
15+
public class Test {
1616
public static void main(String[] args) throws CloneNotSupportedException {
1717
A obj1 = new A();
1818
obj1.i = 5;

12 - File Handling + Serializable/12.1 - File Handling Example/12.1 - File Handling Example.iml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<module type="JAVA_MODULE" version="4">
33
<component name="NewModuleRootManager" inherit-compiler-output="true">
44
<exclude-output />
5-
<content url="file://$MODULE_DIR$/../12.1 - File Handling Example">
6-
<sourceFolder url="file://$MODULE_DIR$/../12.1 - File Handling Example/src" isTestSource="false" />
5+
<content url="file://$MODULE_DIR$">
6+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
77
</content>
88
<orderEntry type="inheritedJdk" />
99
<orderEntry type="sourceFolder" forTests="false" />

12 - File Handling + Serializable/12.1 - File Handling Example/src/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.io.FileOutputStream;
66
import java.io.IOException;
77

8-
public class Main {
8+
public class Test {
99
private static final File FILE = new File("12 - File Handling + Serializable/12.1 - File Handling Example/src/demo.txt");
1010

1111
public static void main(String[] args) throws IOException {

12 - File Handling + Serializable/12.2 - Properties file/src/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* {@code Properties} file: is used to store configuration
1111
*/
1212

13-
public class Main {
13+
public class Test {
1414

1515
private static final File PROPERTIES_FILE = new File("12 - File Handling + Serializable/12.2 - Properties file/src/config.properties");
1616

12 - File Handling + Serializable/12.3 - Object Serialization/src/Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import java.io.ObjectOutputStream;
1515
import java.io.Serializable;
1616

17-
public class Main {
17+
public class Test {
1818

1919
private static final File FILE = new File("12 - File Handling + Serializable/12.3 - Object Serialization/src/obj.txt");
2020

@@ -36,4 +36,4 @@ public static void main(String[] args) throws IOException, ClassNotFoundExceptio
3636

3737
class Save implements Serializable {
3838
int i;
39-
}
39+
}

12 - File Handling + Serializable/12.4 - Serialization using XMLEncoder/src/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*</p>
1818
*/
1919

20-
public class Main {
20+
public class Test {
2121
private static final File XML_FILE = new File("12 - File Handling + Serializable/12.4 - Serialization using XMLEncoder/src/obj.txt");
2222

2323
public static void main(String[] args) throws FileNotFoundException {

0 commit comments

Comments
 (0)