|
- String & Array
- Example: Concatenate strings
(source)
(output)
- Example: Tokenize a string
(source)
(output)
- Example: Dimension and load array
(source)
(output)
- Example: Append one array with another
1.0:
(source)
(output)
1.1:
(source)
(output)
- Example: UTF-8, UTF-16
(source)
(output)
- Loops
- Example: for()
(source)
(output)
- Example: while()
(source)
(output)
- Example: do while()
(source)
(output)
- Example: break loop
(source)
(output)
- Example: Return to top of loop
(source)
(output)
- Flow of Control
- Example: if logic
(source)
(output)
- Example: switch logic
(source)
(output)
- Example: exit logic
(source)
- Conversions
- Example: String -> int, float, double
(source)
(output)
- Example: int, float, double -> String
(source)
(output)
- Example: String <--> byte array
1.0:
(source)
(output)
1.1:
(source)
(output)
- Example: Boolean->boolean, Integer->int, Double->double
(source)
(output)
- Bit Twiddling
- Example: Bitwise and / or logic
(source)
(output)
- Example: Bit-coded variable
(source)
(output)
- Math
- Example: Arithmetic
(source)
(output)
- Example: Rounding, ceiling, floor
(source)
(output)
- Example: Truncate
(source)
(output)
- Example: Divide with remainder
(source)
(output)
- Example: Exponents
(source)
(output)
- Example: Use pi or e
(source)
(output)
- Example: Use sin, cos, tan
(source)
(output)
- Memory
- Example: Get available memory
(source)
(output)
- Example: Load class dynamically
(source)
(output)
- Example: Launch thread
(source)
(output)
- Other
- Example: Literals
(source)
- Example: Variables
(source)
- Example: Static & Instance variables
(source)
(output)
- Example: Call method
(source)
(output)
- Example: Method that throws Exception
(source)
(output)
- Example: Call method in super class
(source)
(output)
- Example: Use Interface
(source)
(output)
- Example: instanceof
(source)
(output)
|