Sign in to FlowVella

Forgot password?
Sign in with Facebook

New? Create your account

Sign up for FlowVella

Sign up with Facebook

Already have an account? Sign in now


By registering you are agreeing to our
Terms of Service

Share This Flow

Loading Flow

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Using Scanner

import java.util.*;


public class ReadSomeInput {

public static void main(String[ ] args) {


Scanner input = new Scanner(System.in);


System.out.print("What is your name?") ;

String name = input.next( );


System.out.println("Congradulations " + name + " on your first interactive program!" );

}

}

Downloading Image /

loading...

Downloading Image /

loading...
  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10

Java variables

By Jasmien Sofie