Java Old Questions
Java Old Questions
1. What is a data type? Explain the different data types used in java. [2+8]
2. Define array and its types. Write a program in java to find the largest
number among ten input numbers using array. [3+7]
3. Define operators and operand. Explain about different types of operators
used in java. [2+8]
4. What are operators in java? Explain the arithmetic and comparison
operators with suitable example. [2+6]
5. What is operator? Explain the arithmetic operator with example.
Differentiate between while loop and do while loop. [ 2+4+4]