AP Computer Science Vocab (1)
First APCS Vocab
Terms in this set (40)
A primitive data type used for fractions and floating point numbers.
A primitive data type used for integers (positive-negative whole numbers)
A primitive data type used for true - false or on - off.
Set of characters inside double quotes.
A general form of conversion in Java, used to round floating point number to nearest integer or it can convert an int to a floating point number. (preferred data type in paranthesis.)
A type of conversion that loses data that is impotant.
Assigned values must correspond to th declared type.
A single line comment symbol.
Modulate symbol; gives remainder after division.
operator precedence hierarchy
The order of operations that solve an expression.
Characters with letters and/or numbers; focus on int, double, boolean.
A value that cannot be changed; written in all caps; declared by 'final'.
A modifier that declares that the variable will be a constant.
A word that means the method will have no return type.
A method that appears within a class; invokes other methods.
A system object; word out is a dot operator; println is the method; prints characters to screen, then moves to next line.
An other class can access public fields or methods; these fields are visible and can be modified.
Other classes cannot access private fields or methods; not visible and cannot be modified.
Vaiables that are common to all objects; associated with a whole class, not a specific object; data and methods can be used without instantion of own class.
It gives or assigns a value to a variable.
Name for a location in memory; used to hold a data value or reference.
Special ways to represent characters in a string; noted by a backslash (\).
Used to define an object; defines he data and methods to work on that data; template/blueprint.
Has a state or behavior; stores the state in variables; stores behaviors in methods.
Behavior or function that alters an objec's state.
object reference variable
Stores the address where the object is stored in memory; variable name for an object.
The details of how it works don't matter to the user of the object.
A method of programming based on classes and objects.
The plus symbol; puts together 2 or more character strings.
Each object protects and manages its own information.
Classes can be created from other classes; software reuse.
We can refer to objects of different but related types in the same way; multiple children of the same parents.
Member variable of a class that are defined by variables; properties of an object.
The fields or variables
Methods or functions.
A special method used to initialize an object when it is instantiated; same name as the class; no return type.
The process of creating a new object and assigning it a value.
Method and data declarations that are contained in the class.
Causes a method to be executed; specifies any values that are passed to the method as parameters.
A value passed to a method when it is invoked.
YOU MIGHT ALSO LIKE...
Chapter 9 - Objects and Classes
AP Computer Science
CS 302 Chapter 9
OTHER SETS BY THIS CREATOR
Spanish Final Vocab
Música e instrumentos