Java study # 1 (typical type)

Existence of reserved words

** Existence of typical types **

--long large integer --int Ordinary integer --short small integer --byte A smaller integer --double ordinary decimal --Float A decimal number that can be a little vague --Boolean Boolean (true or false) --char One character --String Character sequence

If it is an integer, int Double for decimals Decimal numbers are not suitable for accurate calculations such as money calculation where errors are not allowed.


   int a = 0;← Initialization of variables
   
   int a = 0;

   int a   = 1;← Variable reassignment (overwrite)

The final type is called a constant and cannot be rewritten.

For the time being, the end of Chapter 1 ...? I've finished the exercises, but the integers don't pop up in my head, so I'll try to remember them for a while, as the book says. Should I review tomorrow (^ o ^)

Recommended Posts

Java study # 1 (typical type)
Java study # 7 (branch syntax type)
Java type conversion
Let's study Java
[JAVA] Stream type
[Java] Enumeration type
Java Optional type
Java double type
[Java] Study notes
Java 8 study (repeatable)
Java study memorandum
Study Java Silver 1
[Java ~ Variable definition, type conversion ~] Study memo
Java study # 3 (type conversion and instruction execution)
Java Silver Study Day 1
[Java] Data type ①-Basic type
[Java ~ Method ~] Study memo (5)
Java class type field
Type determination in Java
[Java ~ Array ~] Study memo 4
My Study Note (Java)
[Java] About enum type
[Java] Date type conversion
Study Java # 2 (\ mark and operator)
[Java] List type / Array type conversion
Java learning memo (data type)
Study java arrays, lists, maps
Try functional type in Java! ①
[Java] Precautions for type conversion
Java Silver Study Method Memo
[Java ~ Boolean value ~] Study memo (2)
[Java] Type conversion speed comparison
Java study memo 2 with Progate
Java Primer Series (Type Conversion)
Study Java with Progate Note 1
Summary of [Java silver study] package
[In-house study session] Java exception handling (2017/04/26)
[Study session memo] Java Day Tokyo 2017
[Java] Data type / matrix product (AOJ ⑧ Matrix product)
java (use class type for field)
Java
Java study # 4 (conditional branching / if statement)
Orcacla Java Bronze SE 7/8 Qualification Study
Java
[Java] Correct comparison of String type
Java study # 5 (iteration and infinite loop)
How to use Java enum type
[Java] Express Enum type without using Enum (enumeration) type
Study Deep Learning from scratch in Java.
[Java Siler] About type inference by var
Summary of in-house newcomer study session [Java]
[Java] Implicit type cast (AOJ10-sum of numbers)
Java date data type conversion (Date, Calendar, String)
Regarding String type equivalence comparison in Java
[Easy-to-understand explanation! ] Reference type type conversion in Java
Use PostgreSQL data type (jsonb) from Java
Find out how Java protects type integrity
[Personal memo] Java data type is annoying
[Java] Data type / string class cheat sheet
Notes on operators using Java ~ String type ~
[Java] Introducing the Generics Boundary Wildcard Type