0% found this document useful (0 votes)
34 views7 pages

Core Java Solutions for B.Tech Students

Java Solution

Uploaded by

Jayashree bishoi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views7 pages

Core Java Solutions for B.Tech Students

Java Solution

Uploaded by

Jayashree bishoi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

E-

Solution To
CORE JAVA (2010-
2011)
FOR ALL [Link] STUDENTS (CSE, IT, ELE, CE, ENTC, ME)

[Link] Kumar Jena


([Link]. in Dept. of [Link].&Engg.)

, Tangi, Cuttack.
“You
r
Succes
s Is Our
Vision”

PREFACE
I take great pleasure in presenting this solution of BPUT questions first time in compact Disk.

This copy will be helpful for the students to learn the different items prescribed in the syllabus. In

this copy I have tried to explain easy concept on java programming in a step by step approach.

Each question solution of this copy contains simple methods for better understanding.

Students face a lot of difficulty during the study of other publications and solution copies.

During teaching I have gone through the different difficulties which student face. After thorough

study of many standard and authentic books and by my experience during teaching, I have tried

to provide a simpler approach for understanding the most appreciate solution of java

programming in easiest form.


I have also tried to make the solution error free, even then if error is found please feel free to

communicate me on uttamvolley@[Link]. [Link]-9937541541.

ACKNOWLEDGEMENT
I express my deep sense of gratitude to our Hon’ble Chairman Shri. Pramod Chandra Rath

(Chairman, DRIEMS)

I wish to express my heartfelt thanks to all Directors, Principal, and Deans for their patronage,

support and help. I am thankful to them for their constructive suggestions.


Director(Admn.)Shri [Link] Director(Co-ord.)[Link] Principal(Dr.)[Link]

Dean (AA) [Link] Dean(SW)[Link] Dean(Cultural)[Link]

My special thanks go to Prof. (Dr.) [Link] (Dean AA) for the earnest effort made during

preparation of this solution copy. Without his involvement this copy would not have been

possible.
In addition, I would like to thank all those who have encouraged me to write this solution copy,

especially Prof. Pradipta Kumar Das (Head [Link] CSE) and Prof. Pradosh Ku. Gantayat

(Senior Faculty Member).

[Link] (Head [Link] CSE) [Link] (Senior Faculty)

I am thankful to Prof. [Link] (Head R&D), [Link] Pattanaik (Dean Cultural), my

colleagues, friends, and students who helped me in preparing the manuscript of this solution

copy.

Last, not the least, my thanks to my parents (Mr. Barendra Nath Jena, [Link] Jena) for

their patience and support while writing this copy. Many thanks to my wife Ritu and only son

Google were also a great help and extend support to me all the time.

Uttam Kumar Jena


[ B.E, [Link] (Topper of the batch)]
(Asst,Prof.,[Link] CSE,DRIEMS)

Uttam Kumar Jena (Asst. Prof.)


([Link].-9937541541)

FIFTH SEMISTER EXAMINATION -2010 Ukj-1


Java programming

Full Marks -70 [Link]


Time: 3 Hours PCIT 4303

Answers question No .1 which is compulsory and any five from the rest.
The figures in the right hand margin Indicate marks

1. Answer the following questions: 2X10

(a) What gives java its “write once run anywhere nature.
Ans:

(b) What is an interface in java? What for it is used?


Ans:

(c) What is a static member? How it is useful.


Ans:
(d) What type of exception the following handler can catch? It is advisable to use such
handlers and why.
Ans:
(e) What is wrong with the following exception handler?
try
{
} catch (Exception e) { }
catch (Arithmetic Exception e) { }
(f)

(g) Differentiate among final, finally and finalize.


(h) Differentiate among abstract class and abstract method.
(i) Give an example of operator overloading in java.
(j) What is Unicode in java?
(k) Can a top level be private or protected? Explain.

2. What is a thread? What are the different ways of creating a thread in java? How can
you achieve synchronization among threads?
3. What is delegation event model? Explain different term associate with event
handling.
4. What do you mean by inheritance? How it is achieved in java? How super is
used? How access specified plays a rule in inheritance.

You might also like