The document outlines a sixth semester exam for a Computer Science and Engineering program focusing on Programming in Java. It includes two parts: Part A contains 10 short answer questions covering Java concepts like constructors, static methods, inheritance, packages, interfaces, exceptions, and streams. Part B includes 3 programming questions - one each on constructor overloading, implementing a stack using interfaces, and character streams or multithreaded programming.
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 ratings0% found this document useful (0 votes)
75 views
Java Quest
The document outlines a sixth semester exam for a Computer Science and Engineering program focusing on Programming in Java. It includes two parts: Part A contains 10 short answer questions covering Java concepts like constructors, static methods, inheritance, packages, interfaces, exceptions, and streams. Part B includes 3 programming questions - one each on constructor overloading, implementing a stack using interfaces, and character streams or multithreaded programming.
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
You are on page 1/ 1
BHARATH INSTITUTE OF HIGHER EDUCATION & RESEARCH
B.Tech - Computer Science and Engineering
Sixth Semester
PROGRAMMING IN JAVA
Time : Three hours Maximum : 100 marks
Part- A
1. Explain the use of Constructor with an example.
2. Why static methods are used? 3. Write a sample code to illustrate the use of keyword Super. 4. What role does the keyword Final play in inheritance? 5. How a package is defined in Java? 6. How do interfaces make up for multiple inheritance in C++? 7. Mention the Java keywords used to manage Exception Handling. 8. Explain Deadlocks in multithreading. 9. How are applets differing from application programs? 10. Differentiate between byte streams and character streams
Part –B
1) Explain in detail Constructor Overloading with an example.
(or) Discuss run time polymorphism in Java using Overidden Methods.
2) Write a Java program to perform Stack Implementation using Interfaces.
(or) Write an Interface program to calculate the area of circle, triangle and rectangle all implementing an interface called shape.
3) Explain briefly each character class streams.
(or) Explain in detail the multithreaded programming.