1 Briefly explain ByteArrayInputStream and ByteArrayOutputStream. 2Briefly explain CharArrayReader and CharArrayWriter 3Explain serialization and Deserialization using Serializable interface. 4What is common and how do the following streams differ: InputStream, Reader? 5Create two threads and assign names ‘Scooby’ and ‘Shaggy’ to ...
Home/Programming Language/Page 46
SIKSHAPATH Latest Questions
Create a student class object array of size four having attributes name, designation and salary. Let the student class have appropriate getter/setters methods for accessing these attributes. Initialize these attributes through the setter methods. Store this object into a file ...
create an employee object having properties name, date of birth, department, designation and salary. let the employee class have appropriate getter/setters methods for accessing these properties. initialize these properties through the setter methods. store this object into a file “outobject.txt”. ...
file handling with different methods.
What is Java? Inheritance in Java?