Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
261 views
JAVA PROGRAMMING0001 Ilovepdf Compressed
java
Uploaded by
Surya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save JAVA PROGRAMMING0001 Ilovepdf Compressed For Later
Download
Save
Save JAVA PROGRAMMING0001 Ilovepdf Compressed For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
261 views
JAVA PROGRAMMING0001 Ilovepdf Compressed
java
Uploaded by
Surya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save JAVA PROGRAMMING0001 Ilovepdf Compressed For Later
Carousel Previous
Carousel Next
Save
Save JAVA PROGRAMMING0001 Ilovepdf Compressed For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 3
Search
Fullscreen
Reg. No.: Tepe Question Paper Code : 71760 B.E/B.Tech. DEGREE EXAMINATION, APRIL/MAY 2015. Fifth Semester Information Technology IT 2301/IT 51/10144 IT 501 — JAVA PROGRAMMING. (Regulation 2008/2010) - ‘Time : Three hours Maximum : 100 marks Answer ALL questions PART A— (10 x 2= 20 marks) 1. How is a constant defined in Java? 2. How super‘) is used with constructors? 3. What is a Java package and how is it used? 4, Differentiate static binding and dynamic binding. “a 5. Define the term ‘Proxies’ in JAVA 6. What is an inner class? Give an example for it. 7. Whats an event delegation model? 8 Draw the inheritance hierarchy for the frame and component classes in AWT and Swing. : 9, What are the advantages of Generie Programming? 10. When a thread is created and started, what is its initial state? SEPART B— (5 x 16 = 80 marks) 11. (a) @ Explain with the help of a program how object oriented programming. overcomes the shortcomings of procedure oriented programming. @ (i) What is inheritance? How will you call parameterized constructor and over rided method from parent class in sub class? ® Or (’) Create a Java Class Shape” with constructor to initialize the one parameter “dimension”. Now create three sub classes of Shape with following methods : () “Circle” with methods to calculate the area and circumference of the circle with dimension as radius. Gi) “Square” with methods to calculate the area and length of diagonal of the square with dimension as length of one side. (ii) “Sphere” with methods to calculate the volume and surface area of the sphere with dimension as radius of the sphere. Write appropriate main method to create object of each class and test every method. 6) 12. (a) @ Given two one dimensional arrays A and B which are sorted in ascending order. Write a JAVA program to merge them into a single sorted array, see that it contains every item from array A and B, in ascending order. ®) (i). With an example, describe in detail about how polymorphism plays a useful role in JAVA. ® Or (®) Explain with an example how multiple inheritance is achieved in java. (16) 13. (a) Develop a Library interface which has drawbook( ), returnbook( ) (with fine), checkstatus( ) and reservebook( ) methods. All the methods are tagged with public in the following ways (Using draw book() ~ get the required book based on title (ii) Using checkstatus( ) — user book returned date details (ii) Using with fine) - Whether failed to return the book within a time period charge — Rs. 5/day. (iv) Using reserve book( ) ~ block or reserve particular book for their account. (16) Or 2 71760b) 4 @ - © 15. (a) £ ) @ Explain I/O Streams with suitable examples. Co) Gi) With an example describe in detail about how to work with 2D shapes in JAVA. ® Create a simple menu application that enables a user to select one of the following items : (16) Radio 1 Radio 2 Radio 3 Radio 4 Radio 5 Red Dragon Radio (@) from the menu bar of the application Gi) from a pop-up menu (ii) from a toolbar Add tooltips to each menu item that indicates some information about the Radio station such as type of music and its broadcast frequency. Or (@ Discuss about the Java error handling mechanism? What is the difference between ‘unchecked exceptions’ and ‘checked exceptions’? What is the implication of catching all the exceptions with the type “Exception”? ® (i) Explain in detail about Model view controller pattern in JAVA. (8) Write a complex program to illustrate about thread priorities. Imagine that the first thread has just begun to run, even before it has a chance to do anything. Now the higher priority thread that wants to run as well. Now the higher priority thread has to do its work before the first thread starts. (16) Or (@ Explain life cycle of a thread with help of a diagram. How do the wait and Notify Al/notify methods enable cooperation between threads? ® i) Explain in detail about generic method with a suitable example. (8) 3 71760
You might also like
Section A: Objective: DATED: 23 November, 2012
PDF
100% (1)
Section A: Objective: DATED: 23 November, 2012
6 pages
Java Previous Year Question Papers
PDF
No ratings yet
Java Previous Year Question Papers
12 pages
QP Oops Cs3391
PDF
No ratings yet
QP Oops Cs3391
28 pages
WWW - Manaresults.co - In: (Common To CE, EEE, ME, ECE, EIE, MSNT)
PDF
No ratings yet
WWW - Manaresults.co - In: (Common To CE, EEE, ME, ECE, EIE, MSNT)
2 pages
II I Cse Aids Aiml Cse(Aiml) Cse(DS) JAVA QUESTION
PDF
No ratings yet
II I Cse Aids Aiml Cse(Aiml) Cse(DS) JAVA QUESTION
5 pages
IT2301 Question Paper
PDF
No ratings yet
IT2301 Question Paper
2 pages
Model OOPS
PDF
No ratings yet
Model OOPS
2 pages
Oop QP
PDF
No ratings yet
Oop QP
7 pages
Object Oriented Programming
PDF
No ratings yet
Object Oriented Programming
4 pages
It2305 Java Programming Question Bank
PDF
100% (3)
It2305 Java Programming Question Bank
3 pages
Cs3391-Question Bank
PDF
No ratings yet
Cs3391-Question Bank
16 pages
WWW - Manaresults.Co - In: Code No: MC1621/R16
PDF
No ratings yet
WWW - Manaresults.Co - In: Code No: MC1621/R16
1 page
Vardhaman College of Engineering: Four Year B. Tech III Semester Tutorial Question Bank 2013 - 14
PDF
No ratings yet
Vardhaman College of Engineering: Four Year B. Tech III Semester Tutorial Question Bank 2013 - 14
5 pages
WWW - Manaresults.Co - In: (Common To CSE, IT)
PDF
No ratings yet
WWW - Manaresults.Co - In: (Common To CSE, IT)
2 pages
WWW - Manaresults.co - In: (Common To CSE, IT)
PDF
No ratings yet
WWW - Manaresults.co - In: (Common To CSE, IT)
2 pages
3 Object Oriented Programming and Design CS S4 B.tech KTU 2017
PDF
No ratings yet
3 Object Oriented Programming and Design CS S4 B.tech KTU 2017
2 pages
oops set-1
PDF
No ratings yet
oops set-1
3 pages
CJ APR-19 (Sol) (E-Next - In)
PDF
No ratings yet
CJ APR-19 (Sol) (E-Next - In)
5 pages
JavaImpQuestions Set1
PDF
No ratings yet
JavaImpQuestions Set1
5 pages
Java Question Paper 3 PDF
PDF
No ratings yet
Java Question Paper 3 PDF
5 pages
Questions Unit1 and Unit 2
PDF
No ratings yet
Questions Unit1 and Unit 2
3 pages
Oops
PDF
No ratings yet
Oops
14 pages
Java Full Question Bank
PDF
No ratings yet
Java Full Question Bank
5 pages
Object Oriented Programming
PDF
No ratings yet
Object Oriented Programming
7 pages
CS3391- Question BANK
PDF
No ratings yet
CS3391- Question BANK
11 pages
Question Bank BCS403
PDF
No ratings yet
Question Bank BCS403
5 pages
IT2301-Java Programming QB
PDF
No ratings yet
IT2301-Java Programming QB
10 pages
Object Oriented Programming (Mechanical Engineering)
PDF
No ratings yet
Object Oriented Programming (Mechanical Engineering)
13 pages
CJP Question Bank
PDF
No ratings yet
CJP Question Bank
11 pages
JavaQuestion Bank-New
PDF
No ratings yet
JavaQuestion Bank-New
9 pages
ICT test model QP OOPS
PDF
No ratings yet
ICT test model QP OOPS
2 pages
Java - Questions Papers
PDF
No ratings yet
Java - Questions Papers
11 pages
2016 - Question
PDF
No ratings yet
2016 - Question
2 pages
ICT test 1 QP OOPS
PDF
No ratings yet
ICT test 1 QP OOPS
2 pages
AprilMay 2023
PDF
No ratings yet
AprilMay 2023
2 pages
SPC 2206 SPE 2206 Object Oriented Programming II Advanced Object Oriented Programming Year 2 Semester II
PDF
No ratings yet
SPC 2206 SPE 2206 Object Oriented Programming II Advanced Object Oriented Programming Year 2 Semester II
3 pages
Java Programming
PDF
No ratings yet
Java Programming
7 pages
Java Prog Question Paper
PDF
No ratings yet
Java Prog Question Paper
4 pages
Java PreviousPapers
PDF
No ratings yet
Java PreviousPapers
4 pages
CEP Booklet OOP1
PDF
No ratings yet
CEP Booklet OOP1
2 pages
cat-2 oops
PDF
No ratings yet
cat-2 oops
6 pages
20645
PDF
No ratings yet
20645
6 pages
Question Paper Code:: (10×2 20 Marks)
PDF
No ratings yet
Question Paper Code:: (10×2 20 Marks)
3 pages
OBJECT-ORIENTED-PROGRAMMING-THROUGH-JAVA-JULY-AUG-2023
PDF
No ratings yet
OBJECT-ORIENTED-PROGRAMMING-THROUGH-JAVA-JULY-AUG-2023
4 pages
Java 2013
PDF
No ratings yet
Java 2013
2 pages
JanuaryFebruary 2023
PDF
No ratings yet
JanuaryFebruary 2023
1 page
Java Quest
PDF
No ratings yet
Java Quest
1 page
Object Oriented Programming Using Java-2033-BCA
PDF
No ratings yet
Object Oriented Programming Using Java-2033-BCA
2 pages
HCS406_MAY_2016
PDF
No ratings yet
HCS406_MAY_2016
4 pages
AllPossibleQuestionBank (Desc&Obj) ..R22 OOPSJAVA 2324SEM1..14112023
PDF
No ratings yet
AllPossibleQuestionBank (Desc&Obj) ..R22 OOPSJAVA 2324SEM1..14112023
18 pages
format for Syllabus framing
PDF
No ratings yet
format for Syllabus framing
5 pages
CS322 - Object Oriented Programming Concepts With Java - UG - 1st Sem-Dec-2022
PDF
No ratings yet
CS322 - Object Oriented Programming Concepts With Java - UG - 1st Sem-Dec-2022
4 pages
OOP Question Bank
PDF
No ratings yet
OOP Question Bank
11 pages
Question Bank
PDF
No ratings yet
Question Bank
6 pages
12 Nov 2016 17-11-2016 PDF
PDF
No ratings yet
12 Nov 2016 17-11-2016 PDF
3 pages
Model Question Paper: Subject Code: MIT103 Book ID: B1477 Subject Name: Object Oriented Programming Credits: 4 Marks: 140
PDF
No ratings yet
Model Question Paper: Subject Code: MIT103 Book ID: B1477 Subject Name: Object Oriented Programming Credits: 4 Marks: 140
21 pages
II B. Tech II Semester Regular Examinations, April - 2018 Java Programming
PDF
No ratings yet
II B. Tech II Semester Regular Examinations, April - 2018 Java Programming
4 pages
Cs2305 PP Univ QP
PDF
No ratings yet
Cs2305 PP Univ QP
3 pages
Aucr 2013
PDF
No ratings yet
Aucr 2013
79 pages
EN ISO 16047 (2005) (E) Codified
PDF
100% (2)
EN ISO 16047 (2005) (E) Codified
8 pages
IFI Intro and Products EXTRACT
PDF
No ratings yet
IFI Intro and Products EXTRACT
3 pages
Companion Log 2017 03 23T14 26 14Z
PDF
No ratings yet
Companion Log 2017 03 23T14 26 14Z
2 pages
Unit-1 Questions & Answers
PDF
100% (11)
Unit-1 Questions & Answers
9 pages
Ee6503 Power Electronics
PDF
No ratings yet
Ee6503 Power Electronics
20 pages
Fingerprint Based Security System
PDF
No ratings yet
Fingerprint Based Security System
4 pages
CS6303 Computer Architecture ACT Notes
PDF
No ratings yet
CS6303 Computer Architecture ACT Notes
76 pages
General Intelligence & Reasoning:: RRB Junior Engineer Syllabus
PDF
No ratings yet
General Intelligence & Reasoning:: RRB Junior Engineer Syllabus
5 pages
Application of GA For Optimal Location of FACTS Devices For Steady State Voltage Stability Enhancement of Power System
PDF
No ratings yet
Application of GA For Optimal Location of FACTS Devices For Steady State Voltage Stability Enhancement of Power System
7 pages
Flashlight That Runs On The Heat of The Human Hand
PDF
No ratings yet
Flashlight That Runs On The Heat of The Human Hand
5 pages
Flashlight That Runs On The Heat of The Human Hand
PDF
No ratings yet
Flashlight That Runs On The Heat of The Human Hand
5 pages
GA Based Optimal Placement of SVC For Minimizing Installation Cost and Voltage Deviations
PDF
No ratings yet
GA Based Optimal Placement of SVC For Minimizing Installation Cost and Voltage Deviations
8 pages