Java is a high-level, class-based, object-oriented programming language developed by Sun Microsystems in 1995. It's designed to have as few implementation dependencies as possible and runs on the Java Virtual Machine (JVM).
Java एक उच्च-स्तरीय, class-based, object-oriented प्रोग्रामिंग भाषा है जिसे 1995 में Sun Microsystems ने विकसित किया था। यह कम से कम implementation dependencies के साथ डिज़ाइन की गई है और Java Virtual Machine (JVM) पर चलती है।
Why is Java Important?
Java is one of the most popular programming languages. It powers Android apps, web applications, enterprise systems, and much more thanks to its portability, security, and extensive ecosystem.
Java इतना महत्वपूर्ण क्यों है?
Java दुनिया की सबसे लोकप्रिय प्रोग्रामिंग भाषाओं में से एक है। इसकी portability, security और बड़े ecosystem के कारण यह Android apps, web applications और enterprise systems में व्यापक रूप से उपयोग होती है।
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
Explanation (English):
This is the basic Java program. It defines a class HelloWorld
with the main()
method as the entry point. System.out.println()
prints "Hello, World!" to the screen. Java code is organized into classes.
व्याख्या (हिंदी):
यह Java भाषा का सबसे सरल प्रोग्राम है। इसमें HelloWorld
नाम की एक class बनाई गई है जिसमें main()
method entry point है। System.out.println()
स्क्रीन पर "Hello, World!" प्रिंट करता है। Java में कोड classes के अंदर लिखा जाता है।