0% found this document useful (0 votes)
3 views1 page

Java Lab External

The document outlines the external lab examination for OOPS through Java at Sreyas Institute of Engineering and Technology, detailing various programming tasks across multiple sets. Each set includes questions on Java features, object-oriented concepts, inheritance, applet life cycle, exception handling, and collections. Students are required to execute programs demonstrating their understanding of these concepts.

Uploaded by

innnu22
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Java Lab External

The document outlines the external lab examination for OOPS through Java at Sreyas Institute of Engineering and Technology, detailing various programming tasks across multiple sets. Each set includes questions on Java features, object-oriented concepts, inheritance, applet life cycle, exception handling, and collections. Students are required to execute programs demonstrating their understanding of these concepts.

Uploaded by

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

Sreyas Institute of Engineering and Technology

An Autonomous Institution
Approved by AICTE, Affiliated to JNTUH
Accredited by NAAC-A Grade, NBA (CSE, ECE & ME) & ISO 9001:2015
Certified

OOPS THROUGH JAVA LAB EXTERNAL 9TH&10TH SECTIONS


SET-1
1. What are the features of Java? Explain in detail
2. Explain about “this” keyword and write a program using same. (Execute)
3. Write a Java program to demonstrate the use of an interface.
Create an interface Animal with methods eat() and makeSound().
Implement this interface in two classes Dog and Cat, and display their
behaviors using a main class.(Execute)

SET-2
1. Write a program to demonstrate instance variable, local variable, class
variable (Execute)
2. Explain simple and hybrid inheritance and write the program on same.
(Execute)
3. Describe applet life cycle. Write a program to display a button and a label.

SET-3
1. Write a program to demonstrate arithmetic operators, relational operators,
logical operators(Execute)
2. Explain the use of Super keyword with a program (Execute)
3. Write a program on Border Layout

SET-4
1. Write a java program to check whether a number is prime or
not(Execute)
2. Write about Byte stream and character stream in detail
3. Write about handling Keyboard Events with a program. (Execute)

SET-5
1. Write a program to find the largest element in an array(Execute)
2. What are Exception Handling Mechanisms in Java. Write a program to
demonstrate NullPointerException(Execute)
3. Write about AWT class hierarchy?

SET-6
1. Develop Java programs using access specifiers: public, private, protected,
default
2. Write a program to demonstrate multiple catch blocks. (Execute)
3. Write a program on HashSet, HashMap (Execute)

SET-7
1. Create a class Box and calculate volume using method(Execute)
2. Demonstrate final keyword using a program
3. What is StringBuffer class, Write a program to append, insert, replace,
delete , reverse string. (Execute)

You might also like