Sunteți pe pagina 1din 2

UTTARANCHAL UNIVERSITY, DEHRADUN

Make-Up Examinations, April 2015


MCA-IV Semester
Programming in Java (MCA-4.1)
Time: 2 Hour
Note: All Questions are compulsory.
Q.1- Write short notes on any three of the followings.
i- Loops in Java
ii- Data Types in Java
iii-Features of Java iv- Function Overloading

Max. Marks: 30
(9 marks)

Q.2-

Attempt any two from the following :


(7 marks)
(a) Write a program in /java to find the sum of two numbers using Scanner class.
(b) Explain the concept of Function Overriding with an example.
(c) What is Inheritance? How many types of Inheritance does java support? Write a program in
java for Single Inheritance.

Q.3-

Attempt any two from the following


(7 marks)
(a) What is interface? Why we use it? Write a program in java to implement an interface.
(b) What is Applet? Write a program using Java Applet..
(c) Explain the concept of exception handling with and example.

Q.4-

.
Attempt any two from the following
(7 marks)
(a) Explain the life cycle of a Thread, Write a program for multithreading in java.
(b) Explain any three methods of String and StringBuffer Class.
(c) Write a program in java to check input number is even or odd.
UTTARANCHAL UNIVERSITY, DEHRADUN
Make-Up Examinations, April 2015
MCA-IV Semester
Programming in Java (MCA-4.1)

Time: 2 Hour
Note: All Questions are compulsory.
Q.1- Write short notes on any three of the followings.
i- Loops in Java
ii- Data Types in Java
iii-Features of Java iv- Function Overloading

Max. Marks: 30
(9 marks)

Q.2-

Attempt any two from the following :


(7 marks)
(a) Write a program in /java to find the sum of two numbers using Scanner class.
(b) Explain the concept of Function Overriding with an example.
(c) What is Inheritance? How many types of Inheritance does java support? Write a program in
java for Single Inheritance.

Q.3-

Attempt any two from the following


(7 marks)
(a) What is interface? Why we use it? Write a program in java to implement an interface.
(b) What is Applet? Write a program using Java Applet..
(c) Explain the concept of exception handling with and example.

Q.4-

.
Attempt any two from the following
(7 marks)
(a) Explain the life cycle of a Thread, Write a program for multithreading in java.
(b) Explain any three methods of String and StringBuffer Class.
(c) Write a program in java to check input number is even or odd.

S-ar putea să vă placă și