+ 1
What does this line mean!
FileOperations.writeToFile(new BusinessAccount()); FileOperations and businessAccount are classes i knw that. I am just confused what the above line actually do!
8 Answers
+ 1
It just means that you can write objects to a file as well and transfer it. Other ways could be using sockets or queues etc.
+ 4
FileOperations is a class which has a writeToFile() method and it takes a BusinessAccount object as parameter.
+ 3
ObjectOutputStream is a class which is generally used to write objects to a stream, it could be a file as well.
The above line just creates a reference of ObjectOutputStream and assigns null to it.
+ 1
thankew so much @avinesh
ObjectOutputStream outputStream = null;
what does this mean
0
thnksallot
0
Abdul Wahab you're welcome.
0
Avinesh in the above answe i m still confused in this line.
it could be a file as well.
can u explain it plz
0
thanks Allot