
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
9 questions
Unit 1.1
Flashcard
•
11th Grade
7 questions
phsv A1
Flashcard
•
11th Grade
8 questions
Mindmap U6-8
Flashcard
•
11th Grade
10 questions
Health and Well-being
Flashcard
•
11th Grade
10 questions
Commerce Basics for Grade 11
Flashcard
•
11th Grade
10 questions
Mathematics Glossary
Flashcard
•
KG
8 questions
7018221606
Flashcard
•
KG - University
7 questions
Unit 2.2 Allocation of Resources
Flashcard
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade