To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) Object Oriented - This option is correct because Java is an object-oriented programming language. It supports the concepts of encapsulation, inheritance, and polymorphism.
Option B) Write Once, Run Anywhere - This option is correct because Java is designed to be platform-independent. The Java code can be compiled into bytecode and executed on any platform that has a Java Virtual Machine (JVM) installed. This concept is commonly referred to as "Write Once, Run Anywhere" (WORA).
Option C) Compiled Programming language - This option is incorrect because Java is both compiled and interpreted. Java source code is first compiled into bytecode using a Java compiler, and then the bytecode is interpreted by the JVM at runtime.
Option D) None of the above - This option is incorrect because both options A and B are applicable to Java.
The correct answer is B) Write Once, Run Anywhere. This option is correct because Java is designed to be platform-independent, allowing developers to write code once and run it on multiple platforms.