Advertisement
rafibatam

Hello

Jan 4th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. public class Hello {
  2.     static String name = "Muhammad Rafi Bahrur Rizki", interest = "Software Programming, Application Android Technology";
  3.     static int age = 18;
  4.    
  5.     public static void main(String[] args) {
  6.         System.out.println("Hello, My name is " + name + ".");
  7.         System.out.println("I'm " + age + " years old.");
  8.         System.out.println("I have interests on " + interest + ".");
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement