Help with static methods!

Thanks for replying so quickly! So I have this Matrix class with a bunch of non-static methods that can only be called with an instance of a matrix class, but I want to add a static classes within the Matrix class so I can add, say, a method which is called multiply which takes 2 matrices and multiplies them together. This static method would be called by: Matrix.multiply(m1, m2); which would return a new Matrix. Processing does not allow me to do this for some reason…