Showing posts with label System.out.print(). Show all posts
Showing posts with label System.out.print(). Show all posts

Sunday, March 18, 2012

System.out.print(String)

DOWNLOAD THE CODE: PrintToConsolePkg

We can use a System.out.print(String) to display a prompt
such as "Input a number : "

If we want to make sure that the line is terminated we can use:

Screen shot:
and the output: