create account

LEARNING JAVA v3 by wglenz

View this thread on: hive.blogpeakd.comecency.com
· @wglenz ·
$0.11
LEARNING JAVA v3
<center>**LEARNING JAVA**<br><a href="https://steempeak.com/@wglenz">Published with SteemPeak</a></center>


<center>![Screenshot](https://files.steempeak.com/file/steempeak/wglenz/elYArpDm-image.png)Screenshot by Willi Glenz</center>


<center><h2>UPDATE v3</h2></center>
```
005 OPERATORS

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

<br>
```
004 VIMRC

$ vim ~/.vimrc
> " GENERAL
> syntax on
> filetype on
> filetype plugin on
> set laststatus=2
> set colorcolumn=80
> set nocompatible
> set number
> set relativenumber
> "set cursorline
> set incsearch
> set hlsearch
> set showmode
> set ruler
> set linebreak
> set showcmd
> set mouse=a
> set background=dark
> set encoding=utf8
> 
> " INDENT
> set autoindent
> 
> " TABs
> set tabstop=3
> set softtabstop=3
> set shiftwidth=3
> set expandtab
> 
> " MAPs
> :nmap <leader>w :w!<cr>
> :map <F2> :echo 'Current time is ' . strftime('%c')<CR>
> :map <F5> :set list!<CR>
> :map <F6> :setlocal spell! spelllang=en_us<CR>
> :ab psv public static void(String[] args) {<cr>}<esc>ko
> :ab sout System.out.println(
```
```
003 BASIC CLI-SNIPPET

public class Main {
   private String msg;

   public Main() {
      super();
      this.msg = "Hello World!";
   }

   public static void main(String[] args) {
      Main phoenix = new Main();
      phoenix.run();
   }

   public void run() {
      System.out.println(msg);
   }

}
```
```
002 PRIMITIVE DATA TYPES

TYPE		SIZE	RANGE					DEFAULT	CLASS&FIELD
byte		8 bit	-2^7 to 2^7 -1			0
short		16 bit	-2^15 to 2^15 -1		0
int			32-bit	-2^31 to 2^31 -1		0		Integer.MIN_VALUE to Integer.MAX_VALUE
long		64 bit	-2^63 to 2^63-1			0L
float		32 bit	-3.4E38 to 3.4E38		0f
double		64 bit	-1.7E308 to 1.7E308		0d
char		16 bit	'\u0000' to '\uffff'	'\u0000'
					(0 to 65,565)
boolean		1 bit							false
```
```
001 SOURCES

Bradley Kjell	chortle.ccsu.edu/java5/index.html
TutorialsPoint	www.tutorialspoint.com/java/index.htm
JavaTpoint		www.javatpoint.com/java-tutorial
IdeOne			ideone.com
```
👍  , , , , , , , , , ,
properties (23)
authorwglenz
permlinklearning-java-v3
categoryjava
json_metadata{"app":"steempeak/1.9.4","format":"markdown","tags":["java","eclipse","vim","opensource"],"users":["wglenz"],"links":["/@wglenz"],"image":["https://files.steempeak.com/file/steempeak/wglenz/elYArpDm-image.png"]}
created2019-03-31 17:55:27
last_update2019-03-31 17:55:27
depth0
children1
last_payout2019-04-07 17:55:27
cashout_time1969-12-31 23:59:59
total_payout_value0.080 HBD
curator_payout_value0.025 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,113
author_reputation1,727,575,717,311
root_title"LEARNING JAVA v3"
beneficiaries
0.
accountsteempeak
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id82,262,207
net_rshares151,880,035,782
author_curate_reward""
vote details (11)
@steemitboard ·
Congratulations @wglenz! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@wglenz/comments.png?201903312030</td><td>You made more than 10 comments. Your next target is to reach 50 comments.</td></tr>
</table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@wglenz) and compare to others on the [Steem Ranking](http://steemitboard.com/ranking/index.php?name=wglenz)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


> You can upvote this notification to help all Steem users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
👍  
properties (23)
authorsteemitboard
permlinksteemitboard-notify-wglenz-20190331t214426000z
categoryjava
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-03-31 21:44:24
last_update2019-03-31 21:44:24
depth1
children0
last_payout2019-04-07 21:44:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length853
author_reputation38,975,615,169,260
root_title"LEARNING JAVA v3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id82,274,256
net_rshares12,621,392,629
author_curate_reward""
vote details (1)