stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
SoloLearn: Java Exam Review Flashcards | StudBud
Explore
/
SoloLearn: Java Exam Review
SoloLearn: Java Exam Review
40 terms
·
StudBud Administration
·
8 plays
Imported from external platform
Flashcards
40 cards
F
Practice quiz
P
Host live
L
Questions
40
Answers
1
This is a problem that occurs during program execution. Exceptions cause abnormal termination of the program.
Throw
Exception
Scanner
2
This is a collection of statements that are grouped together to perform an operation.
Multidimentional
Method
Scanner
3
This method doesn’t return any value?
Class
Void
Main
4
What is the name of the website that you used to get your introduction to Java?
Code.org
LearnSolo
SoloLearn
5
A value used on either side of an operator is called an?
Operand
Switch
Logical
6
In Java, each code statement must end with a?
Semicolon
Equal Sign
Back Slash
7
The idea of having many forms, occurs when there is a hierarchy of classes related to each other through inheritance.
polymorphism
abstraction
inheritance
8
This array contains other arrays.
Method
Multidimensional
Main
9
This is a way to extend the existing classes on the fly.
Conditionals
Anonymous Classes
Multidimensional
10
modern programming language that allows you to write the program once so it can run it on different platforms.
Java
C++
Python
11
In Java, every line of code that can actually run needs to be inside a?
Loop
Class
Main
12
These statements are used to perform different actions based on different conditions.
Conditionals
Method
Variables
13
The _____ data type represents a single character.
if
char
else
14
This keyword allows you to manually generate exceptions from your methods.
char
throw
else
15
Getters start with __, followed by the variable name, with the first letter of the variable name capitalized.
ters
Get
Set
16
This statement's condition expression evaluates to false, the block of code inside the statement is executed.
else
switch
if
17
This method can be run without creating an instance of the class containing the main method?
Method
Void
Static
18
This is an object that represents a sequence of characters.
string
else
if
19
The most common, and easiest to implement method of getting user input is by using?
Conditionals
Scanner
Variables
20
What company designed the Java programming language?
Google
Microsoft
Sun Microsystems
21
This provides predefined methods for mathematical operations.
Logical
Arithmatic
Math Class
22
These are special methods invoked when an object is created and are used to initialize them.
Constructor
Conditionals
Comments
23
This statement's condition expression evaluates to true, the block of code inside the statement is executed.
Class
Index
if
24
A collection of variables of the same type is known as an?
Index
Array
Variables
25
This provides the outside world with only essential information, features without including implementation details.
polymorphism
abstraction
inheritance
26
This statement allows you to repeatedly execute a statement or group of statements.
Loop
Class
Return
27
This keyword can be used in methods to return a value.
Return
Class
Main
28
This line of code means that anyone can access it?
Static
Public
Member
29
The purpose of including these in your code is to explain what the code is doing.
Comments
String
Scanner
30
This loop is guaranteed to execute at least one time.
do . . . while
do . . . later
do . . . now
31
This statement tests a variable for equality against a list of values.
Loop
Class
Switch
32
In Java, each application has an entry point, or a starting point, which is a method called?
Void
Class
Main
33
Public is an _____ _____, meaning that it is used to set the level of access.
Sun Microsystems
Access Modifiers
Anonymous Classes
34
These operators are used to combine multiple conditions.
Array
Logical
Index
35
An ______ describes the current state of an object.
Logical
Return
Attribute
36
In an array, the elements are ordered and each has a specific and constant position, which is known as?
Static
Scanner
Index
37
This is the process that enables one class to acquire the properties (methods and variables) of another.
polymorphism
inheritance
abstraction
38
This type of programming is intended to make thinking about programming closer to thinking about the real world.
Object Oriented
Java
Class
39
Setters start with __, followed by the variable name, with the first letter of the variable name capitalized.
Set
Ters
Get
40
These store data for processing?
Return
Switch
Variables