View RSS Feed

Java Object

Object-oriented programming in Java.

  1. Parameter Names

    by , 04-26-2012 at 05:18 PM
    When a parameter is declard to a constructor or a method, it means that a name is provided for that parameter. Within method body, this name is used so that for referring to the argument that has passed-in.
    Parameterís name shall be unique, in its scope. It is not possible to be similar to the other parameterís name for the same constructor or method, or the local variableís name in constructor or method.

    Parameter may be having similar name just like that of classís field. ...
    Categories
    Tutorial