0% found this document useful (0 votes)
2 views

Module1 OOC

The document outlines various topics related to Java programming, including object-oriented programming principles, keywords in the main method, lexical issues, data types, arrays, and type conversion. It also includes programming tasks such as converting Celsius to Fahrenheit, adding matrices, and sorting elements. Additionally, it discusses selection statements, jump statements, operators, and the differences between object-oriented programming and procedural programming.

Uploaded by

tarunbinjadagi18
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Module1 OOC

The document outlines various topics related to Java programming, including object-oriented programming principles, keywords in the main method, lexical issues, data types, arrays, and type conversion. It also includes programming tasks such as converting Celsius to Fahrenheit, adding matrices, and sorting elements. Additionally, it discusses selection statements, jump statements, operators, and the differences between object-oriented programming and procedural programming.

Uploaded by

tarunbinjadagi18
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like