Question: 3 A ) Create a class Student with data members name, mark, and Id . Use a suitable constructor to initialize the student object. Write
A Create a class Student with data members name, mark, and Id Use a suitable constructor to
initialize the student object. Write a program to write five student objects into a student.txt file. Also,
read the contents of the student.txt file and display only the student with more than marks.
B Write a multithreaded program to do the following:
a Write thread writes strings to a file "Stringfiletxt
b Read thread reads "Stringfiletxt and displays the String with maximum number of characters
and minimum number of characters among strings.
c The main thread accepts strings and display the character words present in strings.
C Write the output of the following code snippets and Justify your answer.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
