Sample:app
public class FirstSample { public static void main(String[] args) { System.out.println("We will not use hello world!"); } }
First and foremost, Java is case sensitive, which means FirstSample is different with firstsample or Firstsample.ide
public: access modifier, controls the level of access other parts of a program have to this code.this
class: think of a class as a container for the program logic that defines the behavior of application. Everything in Java programs must be inside a class.code
(to be continued)rem