You are on page 1of 3
aii BCA-512 (a) BCA (Fifth Semester) EXAMINATION, 2022-23 (New Course) Paper Second [Java Programming] Time : 3 Hours) (Maximum Marks : 70 Note: There are two sections in this question paper Attempt all question from Section A. Attempt all any five question from Section B neta SECTION—A (Shor ON Guostors) Note: Attempt any all ques! es egy Rete 20 BCA-S12(ay/4 qi) oo How Java differs from C++? Write any his applications of OOP. or What is inheritance? How many types of inhentance are there? Explain method Overiding with a suitable example, or What do you mean by constructor Overloading? Give example. Explain the methods defined by vector. Give suitable example. Or What is interface? Write down the importance of interface. ‘What are exception? What are different types of excoption? og is a stream? What are the types of streams lasses of the streams? (2) & Explain the lite cycle-of an applet. Or What's an applet? How an applet ie different trom 80 application? SECTION—B {Long Answer Typo Questions) Noto: Attempt any five questions 510569 1 Discuss the features of Java Programming ‘anguae. Explain why Java is called platform independent language? What are classes and objects? How can be implement muttipio innernance in Java? Explain with example 3. State Similarities between interfaces and classes, How we can dd class or interface to a package? 4. Whal is af exception? How is it differ trom an error? Also expiain Try and Catch. 2 BCA-SI2ay4 (3) P10. 5. What is AWT? Briefly explain various AWT controls available in Java. 6. (a) Explain different parameter passing mechanisms used in Java with an example (b) Write a runtime polymorphism program in Java by using interface reference variable. Tv. (a) Whats the significance of layout manager? Bt to draw a smiley picture as a parameter and display

You might also like