LEARNING JAVA v19-03-04 UpdatesteemCreated with Sketch.

in #java5 years ago (edited)

LEARNING JAVA
homepage whitepaper documentation download api

Screenshot from 20190202 115357.png
Image source: Willi Glenz - Screenshot Eclipse

JAVA-BASICS

ORACLE-JAVA-TUTORIALS

TERMINAL

# apt-get install default-jdk default-jdk-doc openjdk-11-jdk openjdk-11-doc
$ java -version; javac -version
# update-java-alternatives -l
# update-java-alternatives -s java-1.11.0-openjdk-amd64
# update-alternatives --display java
# update-alternatives --config java
$ mkdir -p /tmp/java/{tools,test,phoenix};cd /tmp/java; ls -lisa
$ vim Main.java ^z fg
$ ( cd /tmp/java/; vim Main.java )

PRIMITIVE DATA TYPES

TypeSizeRangeDefaultClass & Field
byte8 bit-2^7 to 2^7 -10
short16 bit-2^15 to 2^15 -10
int32-bit-2^31 to 2^31 -10Integer.MIN_VALUE to Integer.MAX_VALUE
long64 bit-2^63 to 2^63-10L
float32 bit-3.4E38 to 3.4E380f
double64 bit-1.7E308 to 1.7E3080d
char16 bit'\u0000' to '\uffff' (0 to 65,565)'\u0000'
boolean1 bitfalse

OPERATORS

Arithmetic      + - * / & ++ --
Relational      == != > < >= <=
Bitwise         & | ^ ~ << >> >>>
Logical         && || !
Assignment      = += -= *= /= %= <<= >>=  &= ^= |=
Miscellaneous   ?: instanceof

MODIFIER

                Class Package Subclass World
private            ok       -        -     -
default            ok      ok        -     -
protected          ok      ok       ok     -
public             ok      ok       ok    ok

Sort:  

Congratulations @wglenz! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published a post every day of the week

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

Carnival Challenge - Collect badge and win 5 STEEM

You can upvote this notification to help all Steem users. Learn how here!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 62975.56
ETH 3112.53
USDT 1.00
SBD 3.87