
Output in Java
Flashcard
•
Computers
•
11th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does the following code print?
System.out.print( "1" );
System.out.print( "3" );
System.out.print( "5" );
System.out.print( "7" );
System.out.println( "9" );
Back
13579
2.
FLASHCARD QUESTION
Front
What does the following code print?
System.out.print( "1" );
System.out.println( "3" );
System.out.println( "5" );
System.out.print( "7" );
System.out.println( "9" );
Back
13579
3.
FLASHCARD QUESTION
Front
What is the output of the following statements?
System.out.print( "Hello");
System.out.println( "World" );
Back
HelloWorld
4.
FLASHCARD QUESTION
Front
Which of the following statements will print a single line containing
"hello there"?
Back
System.out.print( "hello" );
System.out.println( " there" );
5.
FLASHCARD QUESTION
Front
Which of the following does not contain a syntax error? Options: System.out.println( 'Hello world!' ) :, System.out.println( Hello world! ) ;, System.out.println( "Hello world!" );
Back
System.out.println( "Hello world!" );
6.
FLASHCARD QUESTION
Front
What is at the end of a line of code? Options: #, ;, ), >
Back
;
7.
FLASHCARD QUESTION
Front
Where a java program should be written? Options: class, source file, main method, object
Back
main method
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
8 questions
PLANET DAN TATA SURYA
Flashcard
•
10th - 12th Grade
4 questions
Basics of Computer
Flashcard
•
KG
9 questions
6.3 - Impacts
Flashcard
•
11th Grade
10 questions
Uji Pemahaman Bab 15 Sistem Kontrol dan Monitoring
Flashcard
•
12th Grade
10 questions
2.4 - Information Management
Flashcard
•
11th Grade
10 questions
Skrzaty Jeżyki FT BB+ rozdział 1
Flashcard
•
KG
11 questions
cái này là đề 1
Flashcard
•
11th Grade
9 questions
Cell Biology Flashcards
Flashcard
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade