Chapter Study

BCA Semester 3 OOP in JavaUnit 8: I/O and Streams (2Hrs)

Comprehensive questions and detailed answers for Unit 8: I/O and Streams (2Hrs). Perfect for exam preparation and concept clarity.

4
Questions
30
Marks
Back to All Chapters

a) Define multithreading. Write a java program to show the inter-thread communication.
b) Define Stream. Write a program in java to copy the content from one file to another.

HardTHEORY10 marks2019(TU FOHSS Final)

a) List and explain any five String methods used in Java with examples.
b) Differentiate between byte stream and character stream. Write a program to copy the content of a file to another file using streams.

HardTHEORY10 marks2021(TU FOHSS Final)

What is serialization? Write a java program to write three student information (Roll, Name,Address, College) into file student.txt and display the student information whose address is Jhapa.

MediumTHEORY5 marks2022(TU FOHSS Final)

Why we need file handling in java? Write java program to read file into a variable and then write a variable's content into another file.

MediumTHEORY5 marks2023(TU FOHSS Final)
Showing 4 questions

Sample Questions

a) Define multithreading. Write a java program to show the inter-thread communication.\ b) Define Stream. Write a program in java to copy the content from one file to another.

Marks: 10Chapter: Unit 8: I/O and Streams (2Hrs)

a) List and explain any five String methods used in Java with examples.\ b) Differentiate between byte stream and character stream. Write a program to copy the content of a file to another file using

Marks: 10Chapter: Unit 8: I/O and Streams (2Hrs)

What is serialization? Write a java program to write three student information (<u>Roll</u>, Name,Address, College) into file student.txt and display the student information whose address is Jhapa.

Marks: 5Chapter: Unit 8: I/O and Streams (2Hrs)

Why we need file handling in java? Write java program to read file into a variable and then write a variable's content into another file.

Marks: 5Chapter: Unit 8: I/O and Streams (2Hrs)

Unit 8: I/O and Streams (2Hrs) chapter questions with answers for OOP in Java (BCA Semester 3). Prepare for TU exams with our comprehensive question bank and model answers.