Naming a Method
by, 04-26-2012 at 06:14 PM (379 Views)
Though a method name could be code conventions or legal identifier restrict method names. Method names shall be multi worded name which will be starting with verb, in lowercase preceeded by nouns, adjectives etc or they shall be verb, in lowercase. In case of multi word names, it is necessary that 1st letter of every second & preceeding words shall be made capital. Few examples are as following:
Method consists of a unique name typically in its own class, method may be having similar name just like other methods because of the method overloading.