Java Programming Fundamentals Flashcard

Flashcard
•
Information Technology (IT)
•
9th - 12th Grade
•
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()
Create a free account and access millions of resources
Similar Resources on Wayground
34 questions
AP CSA Unit 3

Flashcard
•
10th - 12th Grade
22 questions
Java Programming Flashcard - unit 1b

Flashcard
•
9th Grade
21 questions
Java Loops

Flashcard
•
KG
21 questions
C.P. - Flashcard #2 - Review

Flashcard
•
9th - 12th Grade
28 questions
Units 1 to 6: Mock Exam Final - AP Computer Science A

Flashcard
•
9th - 12th Grade
24 questions
Java String class methods

Flashcard
•
10th - 12th Grade
25 questions
JavaScript Console & Graphics Review

Flashcard
•
9th - 12th Grade
23 questions
Array & ArrayList Review

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade