General Syntax, Elements, Printing
Println will print with a new line character
print will print without a new line
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
System.out.println("Hello World");
System.out.println(2+16);
}
}
// I love Java --> Normal
// ILoveJava --> Pascal
// iLoveJava --> cammelCase
Comments
Post a Comment