Computer Applications
Assertion (A): Java is an object-oriented programming language.
Reason (R): Java is case-sensitive.
Answer
Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion(A)
Explanation
- Assertion (A): True. Java is an object-oriented programming language because it supports principles like encapsulation, inheritance, polymorphism, and abstraction.
- Reason (R): True. Java is case-sensitive, meaning
MyClassandmyclassare treated as different identifiers. - The Reason does not explain why Java is object-oriented, so it is not a correct explanation for the Assertion.
Related Questions
Fill in the blanks:
In Java, the package used to find the smallest of two numbers is _________.
The extension of a Java source code file is:
- exe
- obj
- jvm
- java
What does the below illustration depict in Java?

- Name of a bird
- DOS based platform for Java programming
- Window based platform for Java programming
- A web browser to execute Java programs
Assertion (A): In Java, when you declare a class, it displays a sample program for the user.
Reason (R): You cannot write a Java program without the use of a sample program.
Based on the above discussion, choose an appropriate statement from the options given below:
- Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
- Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion(A).
- Assertion (A) is true and Reason (R) is false.
- Assertion (A) is false and Reason (R) is true.