
Java Basics
Flashcard
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the keyword to run a java file?
Back
java
2.
FLASHCARD QUESTION
Front
If you have a syntax error in a line of code, but you have not compiled the part of the code that includes the error, what is the outcome of running of the code?
Back
The code runs without errors but only the part that was compiled produces an output (the error is not read/run)
3.
FLASHCARD QUESTION
Front
You can have multiple classes within the same file
Back
True
4.
FLASHCARD QUESTION
Front
When you have multiple classes within the same file, which of the following occurs when the file is compiled? The computer throws an error, you cannot have multiple classes within the same file, It creates the class file for the first class, but not the rest, It creates multiple class files (one for each class), Nothing occurs
Back
It creates multiple class files (one for each class)
5.
FLASHCARD QUESTION
Front
What is the command for compiling a file with multiple classes?
Back
file_name javac
6.
FLASHCARD QUESTION
Front
What is generally the problem when the system says 'file not found' -- what should you check for before running a java file? Options: Make sure all the words are in all caps, Make sure that the file is in the right path (the terminal path is where the file is located), The file name MUST match the class name
Back
Make sure that the file is in the right path (the terminal path is where the file is located)
7.
FLASHCARD QUESTION
Front
What is the extension of the file that is created after compilation?
Back
.class
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
4 questions
Z Transform of a Signal
Flashcard
•
KG
5 questions
Daily Routine After School
Flashcard
•
6th - 8th Grade
3 questions
Untitled Flashcards
Flashcard
•
KG
5 questions
Electrical Tools
Flashcard
•
7th Grade
12 questions
Trennbare Verben
Flashcard
•
KG
10 questions
year 6 unit 8 vocabulary
Flashcard
•
8th Grade
7 questions
A million on my soul
Flashcard
•
6th - 8th Grade
13 questions
Adjectives ending in -ED and -ING
Flashcard
•
KG - 7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade