Level 29 Level 31
Level 30

[Quiz] Basic Syntax

90 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

instance of a class. A software bundle of related variables and methods used to model real world objects. It has 2 defining characteristics - STATE and BEHAVIOR. State is stored as variables and behavior is represented using methods
All Java methods must be contained in a ...
It is basically a behavior. A class can contain many methods. It is in methods where the logics are written, data is manipulated and all the actions are executed.
Instance Variables
Variables declared outside of any method definitions and are not modified by the "static" keyword
Define a class called MyClass that extends MySuperclass and implements Yourinterface.
Jave source code
(Bytecode compiler, java bytecote, java compiler java interpreter, java source code, machine code
run-time error
What type of error causes the program to terminate?
A program written in _______ language can run directly on a computer
Generally, each language instruction in _______ language corresponds to an equivalent machine language instruction.
Most programmers write their programs using this type of language
Converts source code to machine-readable form
Translates one statement at a time, executing each statement as soon as it is translated
(error type)
Compile-time error
Real world objects contain _______ and behavior.
Primitive Data
Fundamental values such as numbers and characters
Words set-aside for special purposes in programming languages
- money$
(error type)
(error type)
Computer Program
Set of instructions that you write to tell a computer what to do
Computer equipment
Determines the exact order of instructions needed to produce desired results
Low-level Programming Language
Machine language--language that corresponds closely to a processor's circuitry, requires use of memory addresses, is difficult to use, and must be customized for every type of machine.
High-level Programming Language
Allows use of vocabulary of reasonable terms, instead of the sequences of 1s and 0s.
Rules about how language elements are combined correctly to produce usable statements.
Limited vocabulary of a programming language
Program Statements
Lines of code which carry out the tasks the program will perform
Another name for Program Statements
Carrying out a program statement
Syntax Error
Statement containing misuse of the programming language
Freeing the program of all flaws or errors
Logic Error
A bug that allows the program to run, but causes it to operate incorrectly.
Semantic Error
Another name for Logic Error.
override (@Override)
the _______ annotation informs the compiler that the element is meant to _______ an element declared in a superclass
deprecated (@Deprecated)
The compiler generates a warning whenever a program uses a method, class, or field with the _______ annotation.
SuppressWarnings (@SuppressWarnings)
Annotation type used to indicate that the compiler should not issue the specified warnings for the marked program element.
abstract class
A class that contains one or more abstract methods, and therefore can never be instantiated. Abstract classes are defined so that other classes can extend them and make them concrete by implementing the abstract methods.
abstract keyword
allow to define classes and class methods that are incomplete and must be implemented in a derived class
abstract method
a method declared in a class or an interface without a method body
Abstract Window Toolkit (AWT)
A collection of graphical user interface (GUI) components that were implemented using native-platform versions of the components. These components provide that subset of functionality which is common to all native platforms. Largely supplanted by…
An abstract implementation of the Set interface.
access modifier
Defines the circumstances under which a class can be accessed and the other classes that have the right to use a class.
overloaded method
When a class declares two methods the same name, but different parameters
accessor method
A method that accesses an object but does not change it
anonymous array
Can be used to construct and initialize an array and then assign the array to a previously declared array reference variabl
API library (Applications Program Interface library)
A library of classes for use in other programs. The library provides standard interfaces that hide the details of the implementations
XML (Extensible Markup Language)
A common web development language created by W3C. A pared-down version of SGML designed especially for Web documents.
remote method invocation (RMI)
It allows an object to call another object in a different operating system process, either on the same machine or on another machine connected by a network. From the programmer's viewpoint, the X and…
a class that supports dynamic arrays that can grow as needed. That is, an ArrayList can dynamically increase or decrease in size.
primitive array
store multiple values of the same primitive data type; can be copied using the clone method
Thrown when a statement's boolean test returns false.
Automatic conversion between reference and primitive types.
big O notation
order of magnitude; computing time expressed in terms of complexity/computing time of a function as the problem size grows; measurement of algorithm efficiency
blocked thread
A thread that cannot proceed because it is waiting for some external event
boolean literal
Source code representation for the boolean values.
type parameter
adjusts the characteristics of everything that is characterized as that type.
break statement
causes a loop to terminate early (320)
Wraps an existing InputStream and buffers the input.
Wraps an existing OutputStream and buffers the output.
This class is used to make lower-level Reader classes like FileReader more efficient and easier to use. Reads relatively large chunks of data from a file at once, and keep this data in a buffer.
case statement
A statement that designates the start of an alternative set of actions for the Case control structure.
catch block
One or more statements following the Catch clause in a Try catch statement; execute only if an exception is thrown from the try block.
character literal
a single character that appears in single quotes (') in a program
checked exception
Exception that describes a problem that is likely to occur at times.
class diagram
A visual representation of the relationships between classes.
class relationship
the interactions between two different classes
UML (Unified Modeling Language)
a software modeling process that enables system developers to create a blueprint showing the overall functionality of the program being engineered and provides a way for the client and the developer to communicate
aggregation association
used when classes actually comprise other classes. for example: doctor's office that has to decide to create health-care teams that include doctor, nurses and admin personnel.
composition association
A relationship in which an object is composed of a collection of other objects. For example, a bicycle is built from components. In UML, it is indicated with a small filled diamond on the association end
direct association
association in which the variables track together. As one variable increases in value, the other variable increases in value. As one variable decreases in value, the other variable decreases in value.
A run-time exception thrown to signal an attempt to cast an object to a class of which it is not an instance
data member
A data type that is a member of a class.
Final class
If a class is declared "final" then the class cannot be inherited to the subclass.
generic class
class parameterized by type of data it holds
The process of creating a new object and assigning it a value.
local class
a type of nested classes that are local to a block of code.
static method
a method that is not invoked on an object
static constant
A constant that belongs to the class. Each object of the class shares the constant. A constant is denoted by the keyword "final."
Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
establishes the first value that the variable will contain
Thrown if the class for the object being read cannot be located
Thrown when a program attempts to clone an object which does not support the Cloneable interface.
Able to be called by multiple threads without risk of conflict.
Collections Framework
Classes for implementing collections.
Collection interface
ready made interfaces
One of a number of virtual interfaces on a single physical interface.