Basic Java stuff Flashcards
TIMWOODS
Transportation Inventory Motion Waiting Over-Processing Over-Production Defects Skills
JDK
Java Development Kit
PCE
Process Cycle Efficiency
Bin
Holds all the binaries
Javac
compiler
Java
Runtime
JAR
Java Archive files
Bin file
Needs to be in system path run or compile java file
JRE
Included in development kit
Java Runtime Environment
Lib folder
Core Libraries
Separate downloads
Java class library API documentation Java language specification
Source code
java
What does javac do
it compiles source code
Class
Result of source code being processed by javac (compiler), bytecode
Process
Source code> javac> class> java, which is class file executed by java JRE
Key feature of Java
Utilize Virtual Machine
> <
Inequality signs
Java class
building block of java app
Modifier
Audience can access (Public for example)
{ }
How to open and close a body of a class
Package
Provides a name space for the class (lower case letter);
package is not mandatory but highly recommended
;
used at end of complete line code;
acts as a period
Main Method
Starting point of any Java program
Accepts Arguments from command line
Public
Public Class
Public static void main
Variables
Store, read, or manipulate data;
Simply a storage location in memory that holds a specific value
How do you assign variables?
With an = sign
Most common variables
Sting
Integer
double
Boolean
Default value for variables
String: “ “
Integer: 0:0
Double: 0.0
Boolean False:
How to print values to the screen
System.out.println(name)
Concatenate
String variable to another string variable
IDE
Integrated Development Environment