(c) What is rule of accessibility? Explain different level of accessibility in java. (3 Marks)

(b) What is constructor overloading? Explain advantage of constructor overloading
with the help of an example. (3 Marks)
(c) What is rule of accessibility? Explain different level of accessibility in java.
(3 Marks)
Question 5:
(a) What is abstract class? Explain situations in which abstract classes are used.
(3Marks)
(b) What is an exception? Explain haw an exception is handled in Java. Create your
own exception class to handle a situation when age of a person is given in
negative. Make necessary assumptions. (4 Marks)
(c) Explain how threads are created in java. Write a java program to display threads
priority. (3 Marks)
Question 6:
(a) What is I/O stream in java? Write a program in java to create a file and copy the
content of an already existing file into it. (4 Marks)
(b) Create an Applet program to display your brief profile with photograph. Make
necessary assumptions and use appropriate GUI and layout in your program.
(4 Marks)
(c) Differentiate between String and StringBuffer classes. Also write a program to
reverse a given string. (2 Marks)
Question 7:
(a) What is need of layout manager? Explain different layouts available in java for
GUI programming. (4 Marks)
(b) Explain FilterInputStream and FilterOutputStream in detail. (4 Marks)
(c) Explain File class and its methods. (2 Marks)
Question 8:
(a) Explain UDP in context of java programming. (2 Marks)
(b) Explain different ways of session handling. (3 Marks)
(c) What is JDBC? Explain how select statements are executed and ResultSet are
accessed in JDBC programming. (5 Marks)

Course Code : MCSL-025
Course Title : Lab Course
Assignment Number : MCA(II)/025/Assignment/2018-19
Maximum Marks : 100
Weightage : 25%
Last Dates for Submission : 15th October, 2018 (For July Session)
15th April, 2019 (For January Session)
This assignment has four parts. Answer all questions of each part. Each part is of
10 marks. Lab records of each part will carry 10 marks.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

error: Content is protected !!