Starlit Daily

📚 › Java

2. Variables and types

इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।

Java is statically typed: you declare the type before the name. int is a whole number, double a decimal, String text and boolean true or false.

उदाहरण देखें

int age = 20;
System.out.println(age);

← कोर्स पर वापस