Documente Academic
Documente Profesional
Documente Cultură
Low-Level lang
===========
The hardware can be controlled using machine language
01001011001010010010010010101
High-Level lang
===============
Assembly language can be controlled with english words
this more friendly
MOV AX, BX
Class Declaration:
Class is the building block in Java, each and every methods & variable exists wi
thin the class or object. (instance of program is called object ). The public wo
rd specifies the accessibility of the class. The visibility of the class or func
tion can be public, private, etc. The following code declares a new class "Hello
World" with the public accessibility:
public class HelloWorld {
Literal Data
===============
How can you tell if 12 is a byte, short, int or long?
By default, literals w/o a decimal point are
int and with a decimal point are double
You can use 12345L to make a long
12.3456F can be used for float
Byte/Short don t have equivalents