viki Bhardwaj wrote:for this i am stuck in, i am not getting idea that how to save my matrix into a file...
I suspect that's mostly because you don't have a
Matrix class.
If you did, then you could implement it's
toString() method to return it in
String form, and then write
that to a File.
Tip: If all your code is in
main() (indeed, if your
main() method is more than a few lines long) then you're probably doing it WRONG.
Winston