จาวาสร้างขึ้นในตัวแปร

รหัสตัวอย่าง

2
0

ตัวแปรในงานจาวา

class Variables {
    public static void main(String[] args) {
        String msg = "Hello World"; // Strings
        int number = 10; // Integers
        float decimal = 7.369f; // Make sure to end the decimal with an f.
        char letter = 'A'; // Characters
        boolean result = true; // Booleans
    }
}

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................