class9
class9
HALF-YEARLY EXAMINATION
COMPUTER APPLICATIONS CLASS : IX MARKS : 100
7. Give the output of the following expression: x+= x++ + ++x + x-- + --x
when x=5;
8. Name the method of Scanner class that :
i) is used to input a float data from the standard input device.
ii) is used to input a long data from the standard input device.
9. What is a package? Give an example.
10. Explain the comment statements and their usage in the Java
program.