निम्नलिखित में से कौन सी कंप्यूटर की ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग भाषा है?
Which of the following is an Object Oriented Programming Language of Computer?
A)
B)
C)
D)
Explanation:
1. Platform-Independent
- Java code is compiled into bytecode by the Java compiler.
- This bytecode is platform-independent and can run on any device with a Java Virtual Machine (JVM).
2. Object-Oriented Programming (OOP)
- Java is built around the concepts of OOP: Classes, Objects, Inheritance, Polymorphism, Abstraction, and Encapsulation.
3. Simple and Secure
- Java has a clean syntax, eliminating complex features like pointers and manual memory management.
- Security is a key focus, with features like the Java Security Manager and bytecode verification.
4. Robust and Reliable
- Java handles memory management automatically using Garbage Collection.
- It has features like exception handling and type-checking to ensure reliability.
5. Multi-Threading Support
- Java supports multithreaded programming, allowing concurrent execution of two or more threads to maximize CPU utilization.
6. Write Once, Run Anywhere (WORA)
- The same Java program can run on multiple platforms without modification, as long as the JVM is installed.
7. Rich Standard Library
- Java provides an extensive set of pre-built libraries in its Java API for tasks like data structures, networking, database access, GUI development, and more.
8. High Performance with Just-In-Time (JIT) Compiler
- The JIT compiler improves performance by converting bytecode into native machine code at runtime.
9. Syntax Similar to C/C++
- Java adopts a syntax style similar to C/C++, making it easier for developers familiar with these languages to learn Java.
10. Automatic Memory Management
- Java uses an automatic garbage collector to manage memory allocation and deallocation, reducing the risk of memory leaks.
11. Supports Various Frameworks
- Frameworks like Spring, Hibernate, and JavaFX make it easier to build applications ranging from web to desktop and enterprise solutions.