Chapter 2: FIrst Java Programs

Ace your homework & exams now with Quizwiz!

Applet

Java program that can be downloaded and run on a Web browser

Assignment operator

The symbol =, which is used to store a value in a variable

interface

a java file that simply specifies the methods to be implemented by another class

Parameter

argument: value or expression passed in a method call; anything that is in parentheses (that isn't in ""- that would be a string literal)

Method

chunk of code that can be treated as a unit and invoked by a name

Object

collection of data and operation sin which the data can be accessed and modified only by means of operations

Graphical user interface (GUI)

communication between humans and computers; use a pointing device for input and a bitmapped screen for output; bitmap displays images of windows and window objects such as buttons, text fields and pull-down menus. User interacts with with interface by using the mouse to directly manipulate window objects

Just-In-Time Compilation (JIT)

feature of some Java virtual machines that first translates byte codes to the machine's code before executing them

Statement

individual instruction in a program

Byte code

kind of object code generated by a Java compiler and interpreted by a JVM; platform independent

Variable

memory location, referenced by an identifier, whose value can be changed during execution of the program

void message

method that returns no value

Interpreter

program that executes the instructions in another program

Java Virtual Machine (JVM)

program that interprets Java byte codes and executes them

Panes

rectangular area within a window with its own height, width, color and drawing area

DOS development environment

set of software tools that allows you to edit, compile, run, and debug programs using the DOS operating system

Integrated development environment (IDE)

set of software tools that allows you to edit, compile, run, and debug programs within one user interface

Import Statement

statement that allows a program to access resources in a library

Message

symbol used by a client to ask an object to perform a service

Source Code

the program text as viewed by the human who creates or reads it, prior to compilation

Hacking

use of clever techniques to write a program often for the purpose of gaining access to protected resources on networks

Terminal I/O user interface

user interface that allows the user to enter input form a keyboard and view output when it is finished performing the task

Panel

window object whose purpose is to contain other window objects


Related study sets

WGU C955 - Module 6: Correlation & Regression

View Set

Chapter 9: Production and Operations Management (Smart book)

View Set

Chapter 1 History of Microbiology (quiz #1)

View Set

Catcher in the Rye Study Guide - 10 Honors English WIP

View Set

Ch 11: Designing Organizational Structure

View Set