0 ratings0% found this document useful (0 votes) 29 views3 pagesCore Java 22
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
Roll No. .... Total Pages : 03
BCA/M-22 1889
PROGRAMMING IN CORE JAVA
BCA-366
Time : Three Hours] (Maximum Marks : 80
Note : Attempt Five questions in all. Q. No. 1 is compulsory.
(b)
©
@
©
©
(g)
)
Attempt four more questions, selecting exactly one
question from each Unit.
Compulsory Question
State the major features of object-oriented
programming.
What is the purpose of labelled break and continue ?
How can you create a class in Java ?
State the major difference between String and
StringBuffer classes.
What is meant by inheritance ?
Name and state purpose of any Avo pre-defined
packages.
What is an exception ?
State the purpose of AWT. 8x2=16
(2-015) L-1889 2.0.Unit I
(a) Explain Java Run-Time Environment in detail. 8
(b) Describe various operators in java in brief. 8
(a) What are the various features of Java ? Explain in
detail. 8
(6) What are the various ways to perform I/O in
Java ? 8
Unit IT
Explain the concept of various types of constructors in
java with the help of examples. Also discuss how garbage
collection is done in java. : 16
What is meant by overloading and overriding ? How are
these implemented in Java ? Explain both by writing
program for both. 16
Unit TIT
Explain multiple inhertiance in java by writing a program.
16
How can you create a user-defined package in Java ?
Explain by creating a package and using that package.
16
L-1889 2}Unit IV
8. What is a user-defined exception ? Explain by writing an
appropriate example. 16
9. What is an Applet ? Write a program in java to pass
parameters to an applet at run-time. 16
(2-01/6) L-1889 3 1,800