Upgrade to remove ads
Java vocabulary words
Terms in this set (39)
represents a primitive floating point numeric type, also used for fractions
A primitive data type that represents integers.
Data type used to represent a single true or false value. Also used for On/Off values.
A series of characters inside double quotes that are to be interpreted as literal text and not as an expression or name in the surrounding statement.
General form of conversion in java, used to round floating point numbers to the nearest integer or convert an int to a floating point number. Prefered data type goes in parentheses.
A type conversion that may result in a loss of some information, as in converting a value of type double to type float
Assigned values must correspond to the declared type.
Used to comment code to the end of the line
gives the remainder after dividing
operator precedence hierarchy
*, %, and / have precedence over + or -
letters, numbers:int, double, boolean
A value that doesn't change. Defined in all caps by the "final" modifier
Used to define a constant
indicates that no value is returned in a method
method that appears within a class that invokes other methods
System object.operator.method prints characters in the parentheses to the screen
states that a class or interface can be used anywhere- can be modified
variables that are common to all objects, associated with a whole class- data and methods can be use d without instantiation of their own class
methods and variables that can only be accessed in the class in which they are declared
variable = expression;
identifier that represents a memory location in which a data value is stored
Special characters that are interpreted differently than they appear in code. These are generally used for carriage returns (\n), tabs (\t), and quotes (\") within string literals.
A) defines a class B) the blueprint of an object
collection of data variables(state) and methods(behaviors); has a state and behavior.
A named group of declarations and programming statements that can be invoked when needed; alters an object's state
object reference variable
A variable that holds a reference to an object, but not the object itself.
the idea of hiding details to make programming easier; details don't matter to the user
attaching strings, using +
each object manages its own information
classes can be created from other classes
Objects or programming that looks the different but act same; multiple children of the same parent
a characteristic/property of an object
defined by the value of object's data
...how the object interacts with the code; methods or functions
centered around objects and classes
A method that initializes a newly instantiated object; same name as the class
The process of creating a new object and assigning it a value.
data and methods of a class.
to call upon a method
THIS SET IS OFTEN IN FOLDERS WITH...
Early Modern Period Key Terms
Study Guide/Chapter 11/The Americas
Africa: Identify Countries
1st Semester AP World History Final SG
YOU MIGHT ALSO LIKE...
AP Computer Science Vocab (1)
AP Computer Science
CH1 and CH2 vocab
Chapter 9 - Objects and Classes
OTHER SETS BY THIS CREATOR
Java Vocabulary 2