Status: Not Started
Quick Docs
Printing
System.out.println(str);
System.out.print(str);
// Printing with a new line:
System.out.println("Hi");
// Printing without a new line:
System.out.print("Hi");
- Welcome.java
Font Size
14
Parentheses autocomplete
Wrap lines
Editor
Theme
Code with blocks by default
Console Font Size
12
Console Theme
Display Server Graphics Screen
Show File Tab Bar
Debug Mode
5 Welcome Program
Welcome.java
1
2
public class Welcome extends ConsoleProgram
{
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output
Docs
Exercise
More
History
Textbook
Video
Download
About
W
This student is viewing this assignment in English. View this page in English?
3 points
In this program, you should introduce yourself. Print out two lines to the screen using the System.out.println()
method.
In the first line write your name and in the second line write one fun fact about yourself.
For example, my program might print
My name is Jeremy.
I like comedy.
Note: In order to pass the grader, you must print the word “name” on Line 1 of your output and “like” on Line 2 of your output.
Reset Code
Upload an image
Upload from your computer
Or paste a link here
Slides and Notes
No slides available for this video
About
Java (console)
Java Version 1.8.0_222