0% found this document useful (0 votes)
83 views

Object Oriented Programming using JAVA QP All Branches Sem II

The document is an examination paper for the B.Tech program at D. J. Sanghvi College of Engineering, focusing on Object Oriented Programming using Java. It includes various programming questions and concepts such as polymorphism, method overloading, exception handling, and thread life cycle. The exam is scheduled for May 24, 2024, with a total of 60 marks and specific instructions for answering the questions.

Uploaded by

Anand Vk
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
0% found this document useful (0 votes)
83 views

Object Oriented Programming using JAVA QP All Branches Sem II

The document is an examination paper for the B.Tech program at D. J. Sanghvi College of Engineering, focusing on Object Oriented Programming using Java. It includes various programming questions and concepts such as polymorphism, method overloading, exception handling, and thread life cycle. The exam is scheduled for May 24, 2024, with a total of 60 marks and specific instructions for answering the questions.

Uploaded by

Anand Vk
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
You are on page 1/ 4
SVKM D. J. Sanghvi College of Engineering Programme: B.TECH (ADSY/8.TECH (AIMLY/S.TECH (COMPY/B.TECH (DATA SCLY/.TECH (©XTCY/BTECH (OTY/BTECH (/B.TECH (MECH) Year: USemestr Il (Exam Year: 2023-2024) Subject: Object Oriented Programming Using Java Date: 24 May 2024 “Time: 2:30 pm - 04:30 pm (02:00 Hrs.) Max Marks: 60 FINAL EXAMINATION(2025-2024) Insmtions: 1 This question pape onins 3 pages 2. All Question are Compulsory 3. All Questions cary ua aks. 4. Answer to cach nw question so be tated on es page Figures onthe ghia all mars 6 Assume suitable data wherever requed but justify 1 1s 1 Weta java program to ad 2 equates, Each ine guaniy shoud beacepedas 10, shobject ofthe ls time at has 3 compen ‘ft (hmm), Define method ad that seeps the 2 obs as arguments and ‘etm th ttl dation in hsm ora OR 1. Explains plymorphisn wit he Rep ofonssiar overloading, Writes rogram 0 to find he volume of phere and hemisphere using the concept of constustoroveoading 'B, Can a cass have mule methods wth sume name bt ferent parameters? si ith the s help ofan example ‘A. WAP to count the equeney af ccurenee oF given charter ina given in of ex. 0 B s «List wrapper classes and writ a program os the, 5 yy 1. Wot theaiteeace beers procedural and obje-viened programming s 6 A 0 | Whats gabgecollesion in ava? Explain its signifiane a memay management w ‘Weta va program that overrides the finalize med ina cas. Crete lip objects of tt clas and demonstrate when the ine (method eal rng oR 1 Cama cls implement uke inertness? Canc extend uk abstract clases? 0 ‘Wie a Java iestaceealled Shape with a metodealeuaearea). Then createewo classes, Cirle and Rectangle, hat plement this ifae to ealeulate he are ofa rele anda rectangle pect. B, Witea program o creates package hat has a mead tele the sum svi 142234, 5 Inert the package oath ile nd apy the sum of eric 1s a 5 4. State theme of ty-calch and ally blk in excpion handing, Als, write 8 rogram stating ho: wo hale AraylndexOuO*BoundsExcepton using y-

You might also like