MCS-024 Object Oriented Technologies and Java Programming Solved Assignment 2021-22
|Course Title||Object Oriented Technologies and Java Programming|
|Assignment Code||BCA (4)/024/Assignment/2021-22|
|Submission Date||31st October 2021 for July 2021
15th April 2022 for January 2022
- Complete Assignments
- Lowest Price
- Secure Payments
(a) Explain basic concepts of Object Oriented Programming? Explain how data hiding is achieved in java.
(b) Explain different data types available in java.
(a) Explain how class is defined in java with the help of a program. Also explain use of getter and setter methods.
(b) Explain use of static methods in java.
(c) Write a java program to add two matrices of 4X4 in java.
Write a java program to create an Account class and define constructors in it. Inherit Saving_Bank_Accountclass andCurrent_Bank_Account class from the Account class. Override constructors of Account class in Saving_Bank_Account and Current_Bank_Account classes. Define appropriate methods to operate these accounts. Make necessary assumptions. Give proper comment in your program to increase redability.
(a) Explain uses of final and super keywords in java with the help of examples.
(b) What is a package in Java? Explain accessibility rules for packages.
(c) Explain advantages of polymorphism with the help of example.
(a) What is interface? Explain difference between abstract class and interface with the help of examples. Also write advantages of using interfaces in java programming.
(b) What is an exception? Explain various causes of exceptions. With the help of a program explain how exceptions are handled in java.
(a) What is multithreading? Explain how threads are synchronized in java. Also explain various applications where multithreading may be used. Describe how interthread communications takes place in java.
(b) Create an Applet to draw circle on the basis of input given by user.
(a) What is object serialization? Explain working and use of object serialization.
(b) What is layout manager? Explain different layouts available in java for GUI programming. What is default layout of an applet? Explain how to set the layout of an applet.
(a) What is proxy server? Explain URL class and its methods in java.
(b) What is JDBC? Explain the advantages of JDBC.
(c) Explain use of GET and POST methods of Servlet with the help of examples.