Computer Applications
Related Questions
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.
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
Fill in the blanks:
In Java, the package used to find the smallest of two numbers is _________.
…………… statement displays the result in Java programming.
- System.print()
- Print()
- System.printout()
- System.out.println()