Module1 OOC
Module1 OOC
Module 1
1. Explain object oriented programming principles
2. Describe the meaning of each of the keywords in public static void
main and write an example program.
3. Explain different lexical issues in JAVA.
4. Write short notes on
(i)Primitive data types
(ii)different types of arrays with simple program
(iii) different promotion rules in JAVA
(iv)Type Inference with Local Variables
(v) Int() to Float() Type conversion and casting
5. Explain the various selection and iteration statements in Java with
syntax and a programming example
6. Explain all the Jump statements in Java with Syntax and Programming
Example
7. Discuss the different data types supported by java along with the
default values and literals.
8. Develop a java program to convert Celsius temperature to
Fahrenheit.
9. Justify the statement "Complie once and run anywhere" in java.
10. List various operators supported by java with snippet code.
11. Illustrate the working of >>,>>>,<< operators with an example.
12. Develop java program to add two Matrices using command line
arguments.
or
What is Array?Write a java program to implement addition of two
matrices?
13. Explain the syntax of decalration of 2D array in java?
14. Differnces between oop and pop?
15. Explain the different comments in java ?
16. How Varaiable declaration in java with code?
17. How to achieve manually allocates the size for array with code?
18. Write a Java program to sort the elements using for loop.
19. Explain the Different types of if Statements in JAVA.
20. Write a program to find the biggest of three numbers using ternary
operator.