how a matrix works? Depends on what you want to accomplish with your matrix. Matrix works in different ways when you do matrix addition or multiplication or....You'd better consult some textbooks on linear algebra, it's not difficult to understand.
In
java everything is an object, you can make matrix an object too. You can write a big package of Matrix for sophisticated numerical computing or just a Matrix class to do simple tasks. If you want to use a matrix as an argument, you have to define a type Matrix, i.e. class Matrix{...}, first. Only after that can you pass the Matrix as an argument in the signature of a method in another class. Sure, there are various ways you can manipulate the strings in a matrix...can you specify your task a bit more clearly?
Regards,
Ellen
[ April 23, 2004: Message edited by: Ellen Zhao ]