1 Program to demonstrate the CO1 Lab Apply Short
following: , Demonstrati ing answer
1. Branching Statements CO2 on
2. Looping Statements
8
3. Classes and objects
4. Arrays
5. Array of objects.
2 Design Programs on following CO2, Lab Apply Short
concepts: Demonstrati ing answer
1. Constructor on
2. Constructor Overloading
3. Pass by value
10
4. Method Overloading
5. Package
6. Exception Handling
3 Working with Inheritance and 8 CO2 Lab Apply Short
Interface: CO3 Demonstrati ing answer
1. Programs to demonstrate on
working of Inheritance, types of
inheritance and Polymorphism –
function overriding.
2. Making use of abstract and final
keywords with class declaration.
3. Programs to demonstrate working of
interface.
4 Program to demonstrate Java Input/Output : CO4 Lab A Sh
1. Concept of streams, byte streams, 8 Demon p ort
character streams. strati pl ans
2. The Console: [Link], [Link], and on y we
in r
[Link]
g
3. Making use of InputStream class, OutputStream
class, File class, FileInputStreams, File
OutputStream, Reader class, Writer class,
FileReader, FileWriter. Buffered streams –
BufferedInputStream, BufferedOutputStream,
BufferedReader, BufferedWriter.
Object Streams
5 Write a java program that loads names and phone CO4 Lab A Sh
numbers from a text file where the data is organized as Demon p ort
one line per record and each field in a record are 11 strati pl ans
separated by a tab (\t).it takes a name or phone number as on y we
input and prints the corresponding other value from the in r
hash table(hint: use hash tables) g
Implement the above program with database instead
of a text file.