Java Programming Fundamentals Flashcard
Flashcard
•
Information Technology (IT)
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

33 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following correctly declares an integer variable in Java? Options: int num = 3;, int num <- 3;, integer num = 3;, int num == 3;
Back
int num = 3;
2.
FLASHCARD QUESTION
Front
What is the correct statement to import the Scanner class in Java?
Back
import java.util.Scanner;
3.
FLASHCARD QUESTION
Front
What is the correct way to create a Scanner object to read user input?
Back
Scanner sc = new Scanner(System.in);
4.
FLASHCARD QUESTION
Front
What method is used to find the length of a string in Java?
Back
length()
5.
FLASHCARD QUESTION
Front
Which method retrieves the character at a specific index in a string?
Back
charAt(int index)
6.
FLASHCARD QUESTION
Front
How do you check if two strings str1 and str2 are equal in Java? Options: str1 == str2, str1.equals(str2), str1.isEqualTo(str2)
Back
str1.equals(str2)
7.
FLASHCARD QUESTION
Front
Which method extracts a substring from a string?
Back
substring()
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
25 questions
Simile and Metaphors Flashcard Per 3
Flashcard
•
9th - 12th Grade
29 questions
AP World History Unit 3 11/24
Flashcard
•
9th - 12th Grade
21 questions
1 of 2 Sports Psychology 1st Semester Final Review
Flashcard
•
9th - 12th Grade
22 questions
Year 10 Prep-Psychology - review topic 2
Flashcard
•
10th Grade - University
20 questions
Comparative & superlative
Flashcard
•
9th - 12th Grade
20 questions
S2 Unit 5 Vocab Flashcard
Flashcard
•
9th - 12th Grade
34 questions
Giới từ
Flashcard
•
9th - 12th Grade
20 questions
Sociology(OER): Economics and Politics
Flashcard
•
KG - University
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
Discover more resources for Information Technology (IT)
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade