Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner; //import scanner to be able to read data from user.
- public class program1
- {
- public static void main(String[] args)
- {
- //Just some basic stuff in java.
- Scanner get_input = new Scanner(System.in); //Whatever the user types in will be equal to get_input variable. it's an object act..?
- System.out.println(get_input.nextLine());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement