Apuntes
Chapter 2 Vocabulary
Contenido del apunte (1)
Página 1
Chapter
2 Vocabulary
Algorithm: A set of steps that outline how to solve a problem
Argument
Data: Data passed to a method for processing.
Bytecode: A compiled Java source code
Class: defines the the of data and actions that will be associated with an object of that class, but not the actual data for an individual object.
Code conventions: A set of guidelines for writing an application.
Comment
Text: provide information about the program to the reader of the code.
Comment block: Multiline comments that describe a program, class or method are sometimes referred to as this.
Compiling: a way to translate code for the computer to understand.
Controlling class: A program's starting point
Encapsulation: Properly designed classes use this to hide implementation details in data.
Escape Sequence: A backslash followed by a symbol that together represent a character.
Execute: To run a program
Importable
Package: an application can use existing classes from another package.
Inheritance: Data is versatile enough to be extended through this.
Interpreter
Software: Software that runs each bytecode instruction of a compiled Java program.
Java application:A package with at least one class that contains a main() method.
Java Virtual Machine (Java VM): A way for the bytecode to be interpreted
Just-in-time compiler (JIT): Software that converts bytecode to specific machine code.
Library:(see Package.) A group of related classes.
Machine code: compromised of just 1s and 0s and is different depending on the computer platform
Method: a named set of statements that perform a single, well-defined task.
Object-oriented programming (OOP): evolved out of the need to develop complex programs in a systematic, modular approach.
Output Stream: Sends data to an output device, typically the computer screen.
Package: A group of related classes.
Platform-independent application: An application that can be run on all major operating systems.
Polymorphism: Gives the programmer data options with the help of this.
Pseudocode: An algorithm written in a mix of English and program code.
Run: See Execute
Source code: Java code typed by a programmer.
Statement: A set of instructions in a program.
String: A set of characters
Syntax error: A statement that violates the rules of Java
Chapter
2 Java: Just know these commands.
/* */ Used to enclose single or
multiline comments.
/** */ Used to enclose documentation comments.
// Used to
begin a single line comment.
{ } Used to begin and end a set of related
statements.
; Required
at the end of each program statement.
\\ Escape
sequence for displaying a backslash.
\" Escape
sequence for displaying a double quotation mark.
\n Escape
sequence for displaying a newline.
\t Escape
sequence for displaying a tab.
Define:
class: The description of an object
format(): Method that displays more precisely formatted output to the screen.
java.lang.System: The class that contains the out member
main(): The method in the controlling class that is automatically executed when a Java application is run.
out: The java.lang.System member that represents the standard output stream
package: Statement used to declare a package.
print(): Method that displays output to the screen.
public: An access modifier that declares a class or method as available to any code.
static: A declaration used for class methods.
void: Indicates a method will not return a value.
Información
- Descripción
- Primary Introduction to Computer Programming Apunte sobre Chapter 2 Vocabulary, creado por tmann4926 el 13/01/2016.
- Creado por
- tmann4926
- Visitas
- 1
- Historial
-
- Creado por Terri FLetcher · 13 ene 2016
- Copiado por tmann4926 · 13 ene 2016
- Valoración