Java Programming
Java Programming
PART B
Answer any TWO questions. Each question carries 5 marks 2x5=10
1. What is command line argument ? Write a java program to count and print the total no of
positive numbers, negative numbers passed from command line.
2. Explain if else statement with syntax and suitable example
3. Differentiate between JAVA and C
4. Explain JAVA program structure
PART C
Answer any ONE questions. Each question carries 10 marks 1x10=10
1. Explain features of Java
2. What is Data type? Explain data types of java
3. What is looping? Explain types of looping with suitable example.
******