FirstRanker's choice
Code: 13A05403
FirstRanker.comR13
--- Content provided by FirstRanker.com ---
FirstRanker.comB.Tech IV Year II Semester (R13) Advanced Supplementary Examinations July 2018
JAVA PROGRAMMING
(Electronics & Instrumentation Engineering)
Time: 3 hours
Max. Marks: 70
--- Content provided by FirstRanker.com ---
PART - A
(Compulsory Question)
*****
- Answer the following: (10 X 02 = 20 Marks)
- Compare and contrast equals () versus ==.
- List the variants of string compare functions.
- What is type conversion in java? Explain.
- Demonstrate the usage of super keyword.
- What is four major differences between interface & class?
- Discuss Byte Array Output Stream.
- Why do we need cookies?
- Differentiate between java applet & java application.
- List the inetaddress class methods.
- What are the two swing key features?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B
--- Content provided by FirstRanker.com ---
(Answer all five units, 5 X 10 = 50 Marks)
UNIT - I
- Explain in detail arithmetic operator, bitwise operator, incremental & decrement operator with proper example. Write a program to demonstrating increment & decrement operator using conditional operator.
OR
- (a) Discuss string constructors.
(b) Differentiate between string and string buffer with an apt example, signifying their usage.
--- Content provided by FirstRanker.com ---
- (a) Discuss string constructors.
UNIT - II
- What are constructors & parameterized constructors? Explain in detail with example. Write a program for constructor to use 'this' keyword.
OR
- Define a package. Why do we need packages? Illustrate with suitable example, class member access with respect to packages.
--- Content provided by FirstRanker.com ---
- Describe the java throwable class hierarchy and the types of exceptions. Can you claim multiple exceptions in a method declaration? Illustrate by means of an example.
OR
- Explain classification of stream classes. Explain various types of byte stream classes & character stream classes in detail.
UNIT - IV
- Define multithreading. Explain with an example of an application that needs multithreading.
OR
--- Content provided by FirstRanker.com ---
- What is an applet? Explain in detail about applet life cycle with suitable diagram. Write a program to draw circle & rectangle filled with red color.
UNIT - V
- (a) Write a program to create form for recounting registration after result declaration using swing components.
(b) Give syntax of four constructors of Jtree class.OR
--- Content provided by FirstRanker.com ---
- Discuss delegation event model for event handling in Java. Explain with a simple program.
*****
FirstRanker.com--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTU Anantapur B-Tech 4-2 last 10 year question papers 2010 -2020 -All regulation- All branches- 4th Year 2nd Sem