Mapa mental
Java
Conteúdo do mapa
Java
Applet
- Runs within a browser.
Application
- Stand-alone.
Object-Orientated
- Everything in Java is an object (extended from this class).
- Objects/Classes
- Wrappers
.java
- source-code
- compiler
- into byte-code
- .class
- byte-code (low level)
- interpreter
- interpretation by JVM
- JVM
- Java Virtual Machine. The program is run on this. Because all Java programs run on the JVM, the prerequisite for Java programs to run is then simply the JVM. Any machine that can install and run the JVM can run java programs.
Primitives
- boolean (1), byte (8), short (16), int (32), long(64), float (32), double (64), char (16)
main method
- public static void main(String[] args) When present in a class, means the class can be run as a program. The string args can be passed by the console as arguments as the program is invoked.
Generic Keywords
- static, final, private, protected, public
Scope
- Instance/Global
- Class attributes. Can be accessed anywhere within class.
- Local
- Only accessible in code block which it was constructed.
- Instance/Global
Garbage Collection
Key Terms
- Statements
- Expressions
- Formula. Evaluating yields a value.
- Selections
- If-else. Switch.
- Access Modifiers
- public, protected, package private, private
Input/Output (I/0)
Exceptions
Equivalence
- Boolean comparison between two values.
Autoboxing/Unboxing
- Automatic conversion of primitive to wrapper and vice versa where required.
this
- Mainly used as a disambiguation tool.
Stack and Heap
Short-circuiting
- For an "AND", if the former is false then the expression is false, regardless of the other conditions.
- For an "OR", if the former is true, then the expression is true, regardless of the other conditions.
Bitwise Operations
PATHS
Testing
Informações
- Descrição
- Mapa Mental sobre Java, criado por karloski em 16-05-2015.
- Criado por
- karloski
- Visualizações
- 3
- Avaliação