-
Notifications
You must be signed in to change notification settings - Fork 2
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
70861f6
commit eb81627
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
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,57 @@ | ||
package org.test.example; | ||
import java.nio.charset.StandardCharsets; | ||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
public class Main1 { | ||
|
||
public String password = "secret"; | ||
|
||
static Map<String, String> map = new HashMap<>(); | ||
public static void main(String[] args) throws Exception{ | ||
long j =02343533; | ||
String s; | ||
System.out.println("Hello world!"); | ||
int i = 0; | ||
boolean f; | ||
|
||
if (i==0){ | ||
f = true; | ||
} | ||
|
||
String p = ""; | ||
String p1 = "sd"; | ||
|
||
map.put(p, p1); | ||
|
||
String p2; | ||
String p3; | ||
|
||
|
||
|
||
doNothing(null); | ||
|
||
int ii = 2/0; | ||
System.out.println(ii); | ||
} | ||
|
||
public static void doNothing(String s){ | ||
System.out.println(s.getBytes(StandardCharsets.UTF_8)); | ||
if(s==null){ | ||
throw new NullPointerException(); | ||
} | ||
} | ||
|
||
|
||
public static void doNothing1(String s){ | ||
if(true){ | ||
throw new UnsupportedOperationException(); | ||
} | ||
} | ||
|
||
public static void doNothing1(){ | ||
if(true){ | ||
throw new UnsupportedOperationException(); | ||
} | ||
} | ||
} |