Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Last active December 27, 2015 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shigemk2/7408778 to your computer and use it in GitHub Desktop.
Save shigemk2/7408778 to your computer and use it in GitHub Desktop.
やさしいJava 13 pb
// 正しくコンパイル出来ない
// 1つのファイルには1つのpackage文しか指定できないようになっている
package pb;
class Sample4
{
public static void main(String[] args)
{
Car car1 = new Car();
car1.show();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment