
Java Flashcard-1
Flashcard
•
Professional Development
•
•
Practice Problem
•
Medium
Praveen Kumar
Used 1+ times
FREE Resource
Student preview

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the default value of a student's attendance in a new semester?
Back
0.0
2.
FLASHCARD QUESTION
Front
Which keyword is used to define a constant in a programming language?
Back
final
3.
FLASHCARD QUESTION
Front
Shreya has 5 apples. If Shreya gives away more than 10 apples, what will happen? Will Shreya have any apples left?
Back
Shreya will have less than 10 apples left
4.
FLASHCARD QUESTION
Front
What is the purpose of the "break" statement in a coding competition?
Back
To exit a coding challenge or switch statement
5.
FLASHCARD QUESTION
Front
Datatype used to store a single character in a student's personal information form?
Back
char
6.
FLASHCARD QUESTION
Front
int num = 10; System.out.println((num++ + ++num));
Back
22
7.
FLASHCARD QUESTION
Front
What is the output of the following code snippet? int x = 5; int y = 3; System.out.println(x % y);
Back
2
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?