Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- /**
- *
- * @author Admin
- */
- public class OOPL1 {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- Car c1 = new Car();
- hellWord();
- inputnum();
- }
- private static void hellWord()
- {
- System.out.print("Hi Pare ");
- }
- private static void inputnum()
- {
- Scanner sc = new Scanner(System.in);
- int num = sc.nextInt();
- System.out.print("Hello World");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement