MASTER OF COMPUER APPLICATIONS (MCA) (REVISED)/ BACHELOR OF COMPUTER APPLICATIONS B.C.A. (REVISED)
Term-End Examination June, 2023
MCS-024: OBJECT ORIENTED TECHNOLOGIES AND JAVA PROGRAMMING
[Time: 3 Hours | Maximum Marks: 100 | Weightage: 75% ]
Note: Question No. 1 is compulsory. Attempt any three questions from the rest.
Question 1. (a) Explain the basic features of object oriented programming language.
Answer : Click hereQuestion 1. (b) Why is Java called machine independent language? Explain the functionality of JVM.
Answer : Click hereQuestion 1. (c) Differentiate between constructor and method, give example for both.
Answer : Click hereQuestion 1. (d) What is an abstract class? Explain the use of abstract class with an example.
Answer : Click here
Question 1. (e)
What are cookies and session variables ? Briefly discuss the utility of
both.
Question 1. (g) Discuss the relationship between data abstraction and encapsulation.
Answer : Click here
Question 2.(a)
Explain how exception handling is performed in Java. Briefly discuss
the concept of checked exception and unchecked exception, with an
example of each.
Answer : Click here
Question 2. (b)
Briefly discuss the concept of listener in Java. Write a program
implement mouse motion listener, support your program with suitable
comments.
Answer : Click here
Question 3.(a) What is string class? How is it different from
String Buffer class? Write a java program to find the length of a given
string.
Answer : Click here
Question 3.(b) What is servlet? Explain how session handling is
programming. performed in servlet
Answer : Click here
Question 3.(c) What is an Interface? Write a java program to show
how a class implements two interfaces.
Answer : Click here
Question 4.(a) What is RMI in Java ? Write the steps to create stub
and skeleton.
Answer : Click here
Question 4.(b) Write a java program to create a volume class.
Derive cube and sphere classes from it. Define constructor for these three
classes.
Answer : Click here
Question 4.(c) What is Synchronization? Explain how methods are
synchronized in Java, with the help of an example.
Answer : Click here
Question 5. Write short notes on the following:
(a) Dynamic Binding(b) Stream Tokenizer
(c) JDBC Drivers
(d) Function Overloading
Answer : Click here
0 Comments
Please do not enter any spam link in the comment box.