MCPcopy Create free account
hub / github.com/Manvityagi/PW-Skills-Java-Course-Codes / Main

Class Main

Lecture 04_Java_Input/src/Main.java:3–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import java.util.Scanner;
2
3public class Main {
4 public static void main(String[] args) {
5 System.out.println("Hello world!");
6 Scanner sc = new Scanner(System.in);
7 String p = sc.next();
8 int q = sc.nextInt();
9 System.out.print(p + " " + q);
10
11 }
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected