User Tools

Site Tools


types_java

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
types_java [2021/07/27 21:27] chifektypes_java [2023/09/14 06:06] (current) – external edit 127.0.0.1
Line 6: Line 6:
   * Логические (boolean)   * Логические (boolean)
  
 +----------------------------
  
   * boolean b = true;   * boolean b = true;
- 
- 
   * byte by = 127;   * byte by = 127;
- 
- 
   * char c = 'A'; (ASCII таблицa)   * char c = 'A'; (ASCII таблицa)
- 
   * short s = 32767;   * short s = 32767;
- 
- 
   * int i = 2_300_000;   * int i = 2_300_000;
- 
- 
   * long l = 20_000_000L; (L не обязательно)   * long l = 20_000_000L; (L не обязательно)
- 
- 
   * float f = 8.2F;   * float f = 8.2F;
- 
- 
   * double d = 8.5;   * double d = 8.5;
- 
  
types_java.1627421273.txt.gz · Last modified: 2023/09/14 06:06 (external edit)