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
…………… statement displays the result in Java programming.
- System.print()
- Print()
- System.printout()
- System.out.println()
"Java compiled code (byte code) can run on all operating systems"
— Name the feature.- Robust and Secure
- Object Oriented
- Platform Independent
- Multithreaded
James Gosling developed Java programming language.