MCA MAGADH UNIVERSITY QUESTION (Third semester) 2010-2013, OOP WITH JAVA

MCA MAGADH UNIVERSITY QUESTION (Third semester) 2010-2013, OOP WITH JAVA
MCA MAGADH UNIVERSITY QUESTION (Third semester) 2010-2013, OOP WITH JAVA


                                                                           2010-2013
                                                                       Full marks: 80
                                                                       Time: 4 hours
                                                          The questions are of equal value
                                                               Answer any five questions

1. What is object-oriented Programming? Explain the advantages of object- oriented Programming over structured programming.

2.(a) Explain why java is platform independence. Also explain the advantages of platform independence.
   (b) What are the different operators in java?

3. What is inheritance? Why are abstract classes used in inheritance? Write a Program in java to explain the use of abstract class in multilevel inheritance.

4. Explain the need of package. Also explain the different access rules for package in Java Programming.

5. What is exception? Explain the different types of exception in Java. Also explain how an exception subclass is created in java.

6. (a) What is variable size array? Write a program to explain the use of variable size array in Java.
    (b) What is the need of static method? Explain why main method in java is always static.

7. What is the different between overriding and overloading method? Explain with suitable example.

8. Using applet, create a web page which displays the following information of the student:
    (a) Student name
    (b) Student age

9. What do you mean by multithreading? Compare with multitasking. What do you mean by the life cycle of thread?

10. Explain how files are handled in java. Write a program in java to create  a file and copy the content of an already existing file into it.

Comments

Popular posts from this blog

MCA MAGADH UNIVERSITY QUESTION (2015-2018) (Semester-iii) Database Management Systems

MCA MAGADH UNIVERSITY QUESTION (2010-2013) (Fifth Semester) Artificial Intelligence and Application

BCA MAGADH UNIVERSITY QUESTION (2011)