This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See One solution to your situation is for the method to take a single argument that is an array of dimensions.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
In Java, methods with different parameter lists are always totally different methods, no matter whether their name is the same. (That's what is meant when we say that "the paramter list is part of the method signature".)
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
posted 11 years ago
Thanks for all of your answers. I felt like I have learned something today!
We begin by testing your absorbancy by exposing you to this tiny ad: