Java Ch 1
Creating Your First Java Classes
Terms
undefined, object
copy deck
- Class
- term that describes a group of collection of objects with common properties
- Bytecode
- programming statements that have been compiled into binary format
- Procedural Programming
- style of programming in which sets of operations are executed one after another in sequence
- Syntax Error
- programming error that occurs when you introduce typing errors into your program or use programming language incorrectly. The program will not compile
- Procedures
- sets of operations preformed by a computer program
- Method
- self-contained block of program code, similar to a procedure
- Arguments
- information passed to a method so it can perform its task
- Compiler/Interpreter
- program that translates language statements into machine code
- Pascal Casing
- using an uppercase letter to begin an identifier and to start each new word in an identifier
- Console Applications
- support character output to a computer screen in a DOS window
- Logic Error
- occurs when a program compiles successfully but does not execute
- Block Comments
- start with a forward slash and an asterisk ( / * ) and end with a asterisk and a forward slash ( * / )
- Variables
- named computer memory locations that hold values that might vary
- Applets
- Java programs that are embedded into a web page
- Computer Program
- set of instructions that you write to tell a computer what to do
- Access Modifier
- define the circumstances under which a class can be accessed and the other classes that have the right to use a class
- Source Code
- programming statements written in a high-level programming language
- Run-time Error
- occurs when a program compiles successfully but does not execute
- Objects
- instances of a class; they are made up of attributes and methods
- Polymorphism
- feature of language that allows the same word to be interpreted correctly in different situations based on the content
- Javadoc Comments
- starts with a forward slash and two asterisk ( / * * ) and end with a asterisk and a forward slash ( * /)
- Literal String
- series of characters that appear exactly as entered and always appear between double quotation marks
- Syntax
- rules of programming language
- Encapsulation
- hiding of data and methods within an object
- Attributes
- characteristics that define an object as part of a class. Also known as its states
- Windowed Applications
- create a graphical user interface (GUI) with elements such as menus, toolbars, and dialog boxes
- High-Level Programming Language
- programming language which allows you to use a vocabulary of reasonable terms, such as "read" "write" or "add"
- Machine Language
- a program written in circuitry-level language, as a series of on/off switches
- Programming Comments
- nonexecuting statements that you add to a Java file for the purpose of documentation
- Application
- stand-alone, executable program
- Applications
- stand alone Java programs
- Line Comment
- starts with two forward slashes (//)
- Inheritance
- ability to created classes that share the attributes and methods of existing classes, but with more specific features