
Introduction to Java
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is a correct header line for main in a Java program? Options: public static void main(args), public static void main(String args), public static void main(args [ ]), public static void main(String [ ] args)
Back
public static void main(String [ ] args)
2.
FLASHCARD QUESTION
Front
What does a comment look like in Java?
Back
//comment
3.
FLASHCARD QUESTION
Front
A variable that holds a whole number
Back
int
4.
FLASHCARD QUESTION
Front
A variable that holds words
Back
String
5.
FLASHCARD QUESTION
Front
A variable that holds true or false
Back
boolean
6.
FLASHCARD QUESTION
Front
A variable that holds a character
Back
char
7.
FLASHCARD QUESTION
Front
What is the file extension for Java Source Code?
Back
.java
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?