Commit 2d1f6bf332c19f8b38c81f35e267138ac328ed3d
1 parent
c39e7183
Exists in
master
update Readme
Showing
1 changed file
with
36 additions
and
1 deletions
Show diff stats
README.md
1 | 1 | # Primeiro Projeto Java |
2 | 2 | Disciplina: LP2 |
3 | -Professor: Rafael Vargas | |
4 | 3 | \ No newline at end of file |
4 | +Professor: Rafael Vargas | |
5 | + | |
6 | + | |
7 | +## TIPOS PRIMITIVOS | |
8 | +| tipo | bits | exemplo | | |
9 | +|---------|------|---------| | |
10 | +| char | 16 | 'a' | | |
11 | +| byte | 8 | 000001 | | |
12 | +| int | 32 | 1 | | |
13 | +| short | 16 | 1 | | |
14 | +| long | 64 | 1 | | |
15 | +| float | 32 | 2.99 | | |
16 | +| doube | 64 | 2.99 | | |
17 | +| boolean | 8 | true | | |
18 | + | |
19 | +## OPERADORES | |
20 | +| + | soma inteira e ponto flutuante | | |
21 | +|----|-------------------------------------------------------| | |
22 | +| - | subtraçao ou troca de sinal inteira e ponto flutuante | | |
23 | +| * | multiplicaçao inteira e ponto flutuante | | |
24 | +| / | divisao inteira e ponto flutuante | | |
25 | +| % | resto divisao de inteiros | | |
26 | +| ++ | incremento inteira e ponto flutuante | | |
27 | +| -- | decremento inteira e ponto flutuante | | |
28 | + | |
29 | +## OPERADORES | |
30 | +| && | AND | | |
31 | +|----|------------------| | |
32 | +| || | or | | |
33 | +| ! | not | | |
34 | +| > | maior do que | | |
35 | +| >= | maior ou igual a | | |
36 | +| < | menor do que | | |
37 | +| <= | menor ou igual a | | |
38 | +| == | igual a | | |
39 | +| != | diferente de | | ... | ... |