Brief History of Java
Brief History of Java
STAR 7 – Is the first project developed using Java. It is the personal hand-held remote control.
1990 - Sun Microsystem began an internal object known as a Green Project to work on a new
technology.
1994 - The focus of the original team was re-targeted this time by the use of internet technology.
JAVA FEATURES
3. Robust – It provides a powerful exception handling and type check mechanism as compare to other
programming language.
CHARACTER (CHAR) - can be used to obtain a single letter, digit, punctuation mark and control symbols
recognized by computer or ASCII.
INTEGER (INT) - contain integer values only, that is, values that do not contain decimal places, do not
require a fractional component, and cannot contain commas.
FLOAT (FLOAT) - are used to real number have an integer and fractional component.
DOUBLE (DOUBLE) - is a special float which can store more significant digit and have long exponent.
INDETIFIERS - it composed a sequence of letter, digit and special character. Limit from 8-15 characters
only the more complex the more complicated.
VARIABLES (Ex. String, int, float, char, Boolean) - it is identifiers which can be assigned with in a
functions. it is identifiers that store a changeable value.
double grade;
VARIABLE INITIALIZATION - the process of assigned and starting value to the variable.
Java Booleans – declared with Boolean keyword and can only take true or false value
1. for loop – for loop is used to run a block of code for a certain number of times.
2. while loop – while loop is used to run a specific code until a certain condition is met.
3. do…while loop – do…while loop is similar to while loop. However, the body of do...while loop is
executed once before the test expression is checked.
SORTING ALGORITHMS
1. Selection Sort
2. Insertion Sort
3. Merged Sort
4. Bubble Sort