We use the nouns length, width, depth and height and also the adjectives long, broad, deep and superior to take a look at location and size: … What you have got can be an illustration of strategy overloading. The good part is that the compiler as well as JVM will pick out the right technique automatically dependant on the kind of the arguments