Skip to content

Instantly share code, notes, and snippets.

@nvsofts
Created May 22, 2015 04:49
Show Gist options
  • Select an option

  • Save nvsofts/d71cca82a616222a4a09 to your computer and use it in GitHub Desktop.

Select an option

Save nvsofts/d71cca82a616222a4a09 to your computer and use it in GitHub Desktop.
[nvsofts@aya ~]$ cat Test.java
import java.lang.*;
import java.io.*;
public class Test
{
public static void main(String[] args)
{
String company = "未経験者、中途者の熱意"
int i = Integer.parseInt(company);
while (true) {
if (i == 0) {
break;
}
System.out.println("笑顔");
}
}
}
[nvsofts@aya ~]$ javac Test.java
Test.java:8: エラー: ';'がありません
String company = "未経験者、中途者の熱意"
^
エラー1個
[nvsofts@aya ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment