Java Terms (in progress)

¡Supera tus tareas y exámenes ahora con Quizwiz!

Implements

A Java keyword included in the class declaration to specify any interfaces that are implemented by the current class.

Case

A Java keyword that defines a group of statements to begin executing if a value specified matches the value defined by a preceding _____ keyword.

Finally

A Java keyword that executes a block of statements regardless of whether a Java Exception, or run time error, occurred in a block defined previously by the try keyword.

Import

A Java keyword used at the beginning of a source file that can specify classes or entire packages to be referred to later without including their package names in the reference.

Abstract

A Java keyword used in a class definition to specify that a class is not to be instantiated, but rather inherited by other classes. An abstract class can have abstract methods that are not implemented in the abstract class, but in subclasses.

if

A Java keyword used to conduct a conditional test and execute a block of statements if the test evaluates to true.

Catch

A Java keyword used to declare a block of statements to be executed in the event that a Java exception, or run time error, occurs in a preceding try block.

For

A Java keyword used to declare a loop that reiterates statements. The programmer can specify the statements to be executed, exit conditions, and initialization variables for the loop.

Do

A Java keyword used to declare a loop that will iterate a block of statements. The loop's exit condition can be specified with the while keyword.

Char

A Java keyword used to declare a variable of type character.

enum

A Java keyword used to declare an enumerated type.

Interface

A Java keyword used to define a collection of method definitions and constant values It can later be implemented by classes that define this with the "implements" keyword.

Float

A Java keyword used to define a floating point number variable.

Int

A Java keyword used to define a variable of type "Integer"

Double

A Java keyword used to define a variable of type double.

Continue

A Java keyword used to resume program execution at the end of the current loop. If followed by a label, ____ resumes execution where the label occurs.

Break

A Java keyword used to resume program execution at the statement immediately following the current statement. If followed by a label, the program resumes execution at the labeled statement.

Final

A Java keyword. You define an entity once and cannot change it or derive from it later. More specifically: a ____ class cannot be subclassed, a ____ method cannot be overridden and a final variable cannot change from its initialized value.

Exception Handler

A block of code that reacts to a specific type of exception. If the exception is for an error that the program can recover from, the program can resume executing after the exception handler has executed.

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 complete by implementing the abstract methods.

Generic

A class, interface, or method that declares one or more type variables. These type variables are known as type parameters. A generic declaration defines a set of parameterized types, one for each possible invocation of the type parameter section. At runtime, all of these parameterized types share the same class, interface, or method.

Hierarchy

A classification of relationships in which each item except the top one (known as the root) is a specialized form of the item above it. Each item can have one or more items below it in the ____. In the Java class ____, the root is the Object class.

Array

A collection of data items, all of the same type, in which each item's position is uniquely designated by an integer.

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 the Project Swing component set.

Group

A collection of principals within a given security policy domain.

Applet

A component that typically executes in a Web Browser, but can execute in a variety of other applications or devices that support the applet programming model.

Class Variable

A data item associated with a particular class as a whole--not with particular instances of the class. Class variables are defined in class definitions. Also called a static field.

Argument

A data item specified in a method call. An argument can be a literal value, a variable, or an expression.

Field

A data member of a class. Unless specified otherwise, a ____ is not static.

Definition

A declaration that reserves storage (for data) or provides implementation (for methods).

Default

A java keyword optionally used after all case conditions in a switch statement. If all case conditions are not matched by the value of the switch variable, the default keyword will be executed.

Else

A java keyword used to execute a block of statements in the case that the test condition with the if keyword evaluates to false.

Abstract Method

A method that has no implementation.

Class Method

A method that is invoked without reference to a particular object. Class methods affect the class as a whole, not a particular instance of the class. Also called a static method.

Compiler

A program to translate source code into code to be executed by a computer. The Java ___ translates source code written in the Java programming language into bytecode for the Java virtual machine.

Constructor

A pseudo-method that creates an object. In the Java programming language, ____ are instance methods with the same name as their class. ____ are invoked using the new keyword.

Core Class

A public class (or interface) that is a standard member of the Java Platform. The intent is that the _____ for the Java platform, at minimum, are available on all operating systems where the Java platform runs. A program written entirely in the Java programming language relies only on _____, meaning it can run anywhere.

Const

A reserved Java keyword not used by current versions of the Java programming language.

Bean

A reusable software component that conforms to certain design and naming conventions. The conventions enable beans to be easily combined to create an application using tools that understand the conventions.

Critical Section

A segment of code in which a thread uses resources (such as certain instance variables) that can be used by other threads, but that must not be used by them at the same time.

Byte

A sequence of eight bits. Java provides a corresponding ____ type.

Declaration

A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods).

Instanceof

A two-argument Java keyword that tests whether the runtime type of its first argument is assignment compatible with its second argument.

Enumerated type

A type whose legal values consist of a fixed set of constants.

ASCII

American Standard Code for Information Interchange. A standard assignment of 7-bit numeric codes to characters.

Impersonation

An act whereby one entity assumes the identity and privileges of another entity without restrictions and without any indication visible to the recipients of the _________'s calls that delegation has taken place. _____ is a case of simple delegation.

Delegation

An act whereby one principal authorizes another principal to use its identity or privileges with some restrictions.

Distributed Application

An application made up of distinct components running in separate runtime environments, usually on different platforms connected through a network. Typical ______ are two-tier (client/server), three-tiers (client/middleware/server), and n-tier (client/multiple servers).

Executable Content

An application that runs from within an HTML file.

Classpath

An environmental variable which tells the Java virtual machine and java technology-based applications where to find the class libraries, including user-defined class libraries.

Exception

An event during program execution that prevents the program from continuing normally; generally, an error. The Java programming language supports _____ with the try, catch, and throw keywords.

Instance

An object of a particular class. In programs written in the Java programming language, an instance of a class is created using the "new" operator followed by the class name.

Binary Operator

An operator that has two arguments.

Bitwise Operator

An operator that manipulates the bits of one or more of its operands individually and in parallel. Examples include the binary logical operators (&, |, ^), the binary shift operators(<<, >>, >>>) and the unary one's complement operator (~).

Instance Variable

Any item of data that is associated with a particular object. Each instance of a class has its own copy of the instance variables defined in the class. Also called a field.

Instance Method

Any method that is invoked with respect to an instance of a class. Can also be called a method.

API

Application Programming Interface. The specification of how a programmer writing an application accesses the behavior and state of classes and objects.

Autoboxing

Automatic conversion between reference and primitive types

Extends

Class X _____ Class Y to add functionality either by adding fields or methods to class Y, or by overriding methods of class Y. An interface _____ another interface by adding methods. Class X is said to be a subclass of Class Y.

Derived From

Class X is _____ from Class Y if Class X extends Class Y

CORBA

Common Object Request Broker Architecture. A language dependent, distributed object model specified by the Object Management Group (OMG).

DOM

Document Object Model. A tree of objects with interfaces for traversing the tree and writing an XML version of it, as defined by the W3C specification.

DTD

Document Type Definition. A description of the structure and properties of a class of XML files.

Casting

Explicit conversion from one data type to another.

FTP

File Transfer Protocol. ____, which is based on TCP/IP, enables the fetching and storing files between hosts on the Internet.

GUI

Graphical User Interface. Refers to the techniques involved in using graphics, along with a keyboard and a mouse, to provide an easy-to-use interface to some program.

HTML

HyperText Markup Language. This is a file format, based on SGML, for hypertext documents on the Internet. It is very simple and allows for the embedding of images, sounds, video stream, form fields and simple text formatting. References to other objects are embedded using URLs.

HTTPS

HyperText Transfer Protocol layered over the SSL protocol.

HTTP

HyperText Transfer Protocol. The Internet protocol, based on TCP/IP, used to fetch hypertext objects from remote hosts.

Comment

In a program, explanatory text that is ignored by the compiler. In programs written in the Java programming language, ____ are delimited using // or /*...*/.

Double Precision

In the Java programming language specification, describe a floating point number that holds 64 bits of data.

Class

In the Java programming language, a type that defines the implementation of a particular kind of object. A ____ definition defines instance and _____ variables and methods, as well as specifying the interfaces the ____ implements and the immediate superclass of the ___. If the superclass is not explicitly specified, the superclass will implicitly be Object.

Block

In the Java programming language, any code between matching braces. Example: { x = 1 ; }

Client

In the client/server model of communications, the client is a process that remotely accesses the resources of a compute server, such as the compute power and large memory capacity.

IDL

Interface Definition Language. APIs written in the Java programming language that provide standards-based inter-operability and connectivity with CORBA.

IIOP

Internet Inter-ORB Protocol. A protocol used for communication between CORBA object request brokers.

Bytecode

Machine-independent code generated by the Java compiler and executed by the Java interpreter.

Deprecation

Refers to a class, interface, constructor, method, or field that is no longer recommended, and may cease to exist in a future version.

Boolean

Refers to an expression or variable that can have only a true or false value. The Java programming language provides the _____ type and the literal values true and false.

Atomic

Refers to an operation that is never interrupted or left in an incomplete slate under any circumstance.

Distributed

Running in more than one address space.

ACID

The acronym for the four properties guaranteed by transactions: atomicity, consistency, isolation, and durability.

Actual Parameter List

The arguments specified in a particular method call.

Garbage Collection

The automatic detection and freeing of memory that is no longer in use. The Java runtime system performs ____ so that programmers never explicitly free objects.

EmbeddedJava Technology

The availability of Java 2 platform, Micro Edition technology under a restrictive license agreement that allows a licensee to leverage certain Java technologies to create and deploy a closed-box application that exposes no APIs.

IP

The basic protocol of the Internet that handles the delivery of packets from one host to another. An example of an address would be "216.3.128.12"

Inheritance

The concept of classes automatically containing the variables and methods defined in their supertypes.

Conversational State

The field values of a session bean plus the transitive closure of the objects reachable from the bean's fields. The transitive closure of a bean is defined in terms of the serialization protocol for the Java programming language, that is the fields that would be stored by serializing the bean instance.

Credentials

The information describing the security attributes of a principal. ____ can be acquired only through authentication or delegation.

Encapsulation

The localization of knowledge within a module. Because objects ________ data and implementation, the user of an object can view the object as a black box that provides services. Instance variables and methods can be added, deleted, or changed, but as long as the services provided by the object remain the same. Code that uses the object can continue to use it without being rewritten.

Access Control

The methods by which interactions with resources are limited to collections of users or programs for the purpose of enforcing integrity, confidentiality, or availability constraints.

Identifier

The name of an item in a program written in the Java programming language.

Hexadecimal

The numbering system that uses 16 as its base. The marks 0-9 and a-f (or equivalently A-F) represent the digits 0 through 15. In programs written in the Java programming language, hexadecimal numbers must be preceded with 0x.

Formal Parameter List

The parameters specified in the definition of a particular method.

Commit

The point in a transaction when all updates to any resources involved in the transaction are made permanent.

Authentication

The process by which an entity proves to another entity that it is acting on behalf of a specific identity.

Compositing

The process of superimposing one image on another to create a single image.

Core Packages

The required set of APIs in a Java platform edition which must be supported in any and all compatible implementations.

Bit

The smallest unit of information in a computer, with a value of either 0 or 1.

Compilation Unit

The smallest unit of source code that can be compiled. In the current implementation of the Java platform, the compilation unit is a file.

Codebase

Works together with the code attribute in the <APPLET> tag to give a complete specification of where to find the min applet class file: code specifies the name of the file, and ___ specifies the URL of the directory containing the file.


Conjuntos de estudio relacionados

Science Test: Topic 4 Thermal Energy

View Set

Religious Philosophy Test review

View Set

Chp 2. Achieving Strategic Fit and Scope

View Set

McKnight's Physical Geography Lab 4.1

View Set

PrepU: Chapter 22: Nursing Management of the Postpartum Woman at Risk

View Set

Salesforce / Data Security & Access

View Set

Unit 4 Nonqualified Corporate Retirement Plans

View Set