Click Here to read answers
{Please urlte gour frxc:m RotI.lYo,/ ExqmnoII r\ro. ....C. [C........
Exp Tpnna ExennINAlrIoN
Paper Code: BCA2O6 Subject: Jaua Programming
Time : 3 Hours Maxlmum Marks :75
Note: questions no,7 which is
Q1 Differentiate between the following:- (provide all example to each
subsection):- {5x5=251
(a) Super class and sub class
{b) Byte and character streams
(c) Check box and radio button
(dlAdapter class and inner class
(elJava classes and Java Interfaces
Q2 (a) What is a thread? Describe the complete life cycle of thread. Provide
an example to create and execute the thread. {6.5}
(b) State any six features of Java in detail. (6)
Q3 E:cplain the following terms with respect to exception handling. Provide
an example to demonstrate the following terms:- (12.51
(a) Try
(b) Catch
(c) Throw
ia1 rinauy
Write a program whi.ch demonstrate how exceptions are impiemented.
Q4 {a} What is the difference between an argument and a parameter?
Discuss with an example. (6.5|
{b) What is polymorphism? Write a JAVA program that uses
polyrrorphism. (61
Q5 What is Inheritance? With diagrammatic illustration and JAVA
Program(s), illustrate Wpes of inheritance. Give self explanatory
comments in your program. t12.51
Q6 Define IfO stream, Write a java program to illustrate the use of I/O
stream. (12.5!
Q7 (a) How do applets differ from application programs? Explain with
example? l4l
(b) Distinguish between the following: - (41
(i) Input stream and Reader classes
(ii) Output stream and Write classes
(c) Write a program to accept number from user and convert into binary
by using wrapper class methods. {4.5}
Q8 Write short notes on anv ttryo of the following:- (6.25tr2=I,2.51
(a) Datagrams and TCPIIP based client and server socket
(b) Swings and comparison with AWT controls
(c) JDBC Architecture and JDBC Drivers
*******,*****
Click Here to read answers
Similar Papers
BCA 4th sem Java Programming paper 2017
BCA 4th sem Java Programming paper 2018
BCA 4th sem Java Programming paper 2013
BCA 4th sem Java Programming paper 2016
BCA 4th sem Java Programming paper 2014