What if you are using an array of a class where the constructor seems to require a paramenter?
If you use new like this:
Code:
XmlTextReader[] r;
r = new XmlTextReader [2];
Then how would you pass the filename to r[0] and r[1] which would normally be passed in the constructor?
If I was not using an array, it would be done like this:
Code:
XmlTextReader r;
r = new XmlTextReader (filename);