Advertisement
JcGaming

Activity 1 by John Carl Quieta

Sep 27th, 2022
824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. // Activity 1 programming intro to java 1E
  2.  
  3. class HelloWorld {
  4.     public static void main(String[] args) {
  5.         // this is 5 primitive data types
  6.         int Senna = 20;
  7.         short teemo = 1;
  8.         long cassiopeia = 5;
  9.         double varus = 2.54;
  10.         float yasuo = 5.454f;
  11.         System.out.println(Senna);
  12.         System.out.println(teemo);
  13.         System.out.println(cassiopeia);
  14.         System.out.println(varus);
  15.         System.out.println(yasuo);
  16.  
  17.         // Submitted by: John Carl Quieta
  18.  
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement