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
22 questions
APWH 3.2 Review
Flashcard
•
10th Grade
25 questions
Python Flashcard
Flashcard
•
KG - University
30 questions
Transition Fall Final Review 24-25
Flashcard
•
9th - 12th Grade
20 questions
French retail conversation
Flashcard
•
9th - 12th Grade
20 questions
Mrs. A. Taylor's Classroom Expectations!
Flashcard
•
9th - 12th Grade
25 questions
Rhetorical Appeals & Devices
Flashcard
•
11th Grade
31 questions
Comparativos y Superlativos
Flashcard
•
11th - 12th Grade
30 questions
Fahrenheit 451 vocab. 45-79
Flashcard
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade