Bca 5 Sem Programming in Java 70629 Jan 2021
Bca 5 Sem Programming in Java 70629 Jan 2021
of Pages : 02
Total No. of Questions : 16
BCA (2014 to 2018) (Sem.–5 )
PROGRAMMING IN JAVA
Subject Code : BSBC-502
M.Code : 70629
SECTION-A
Answer briefly :
1 | M-70629 (S3)-49
https://www.ptustudy.com
SECTION-B
11. What are the various data types available in Java? Discuss each with an example.
12. What is Inheritance? Explain various types of inheritance with suitab1e examples.
13. What is an Exception? How is it different from an error? Is it possible to include your
own exception in a program? Explain with suitable code for the purpose. Also discuss the
use of Finally block.
14. Create an applet that receives two numeric values as input from the user and then
displays the sum, difference and product of these on the screen. Write a sample HTML
page to include this applet.
15. What are the various events defined in the MouseEvent class? Explain the purpose of
each with an example.
16. What is a Stream? Describe the major tasks of input and output stream noses. Discuss and
distinguish between them.
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.
2 | M-70629 (S3)-49
https://www.ptustudy.com