If there is no default case, and no other value matches, control falls through to the
statement after the switch statement (T/F)
2D arrays are declared in row, column order, meaning first value is number of rows, second
value is number of columns. (T/F)
Return type effects method overloading (T/F)
Reference to something inside the class we're coding in. Commonly used to resolve
ambiguity of variables
Definition 2 of 154
If a break statement is not used, the flow of control will continue into the next case (T/F)
False/ F
True/ T
True / T
Dot / .
Definition 3 of 154
Less than
--
\r
<=
<
,Term 4 of 154
-
Subtraction symbol
backspace
Shortcut for a = a - 10
single quote
Definition 5 of 154
Execution is linear by default (T/F)
a += / +=
True/ T
False/ F
True / T
Definition 6 of 154
Less than or equal
<
\n
<=
\'
,Term 7 of 154
True/ T
An entity of the real world that can be distinctly identified. Has a unique identity, state, and
behavior
This loop runs a pre-determined (known) number of iterations. Sometimes called a counting
loop
Use __________ access and change the variables/ attributes, instead of direct access
Output is process of reading information from user, usually via keyboard or mouse. (T/F)
Term 8 of 154
White Space
Can only been seen/ called inside the class
Allows us to choose which statements will be executed next
Arrays can be broken down into a series of elements (T/F)
Spaces, blank lines, and tabs. Used to improve readability.
Term 9 of 154
Float
Methods are often marked private
Loop that repeats forever
This data type has only 7 digits
This should be put at the end of every Switch case
, Term 10 of 154
If-Else-If
Set of logical steps to accomplish a task. Set of direction/ instructions
Combination of one or more operators and operands. Has both a data type and a value that
results from the evaluation.
Tests a series of Boolean expression and execute corresponding block when it finds one
that is true
A single array can hold multiple values of different data types. (T/F)
Definition 11 of 154
An entity of the real world that can be distinctly identified. Has a unique identity, state, and
behavior
True/ T
Public
Object
True / T
Definition 12 of 154
Not equal
!=
\b
*
Int
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller stuuviaa. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.99. You're not tied to anything after your purchase.