fork download
  1.  
  2. /**
  3.  *
  4.  * @author Damien Bell <SkyeShatter@gmail.com>
  5.  */
  6. import java.util.Scanner;
  7. public class Jtutorial1 {
  8. public static void main(String args[]){
  9. // Scanner input = new Scanner(System.in);
  10.  
  11. //System.out.println("Hello World");
  12.  
  13. //System.out.println("Enter a number: ");
  14. //int a; //Integer. -1, -15, -25, 1 , 15, 25
  15. //a = input.nextInt();
  16.  
  17. //System.out.println( a ); //Prints out current value of A
  18.  
  19. //double bankInterest; //Camelback notation. First word has a lowercase letter, and all words after start with a capital letter
  20. //double bankLoanInterest;
  21.  
  22. //double i; -- Stores whole and decimal numbers
  23.  
  24. //char c='C'; Holds one letter
  25. //System.out.println(c); Outputs the letter
  26.  
  27. //String hello ="Hello World"; //Holds multiple letters
  28. //System.out.println(hello); //Outputs the string above.
  29.  
  30.  
  31.  
  32.  
  33. //PEMDAS - Paren, Exponents, Multi, Division, Addition, Subtraction
  34. //P-MD-AS- Paren, Multiplication/divison, Addition / Subtaction.
  35. System.out.println(2+4*8/2);
  36.  
  37. } //End main
  38. } //End class
  39.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty