View RSS Feed

Java Object

Object-oriented programming in Java.

  1. Overloading Methods

    by , 04-26-2012 at 06:41 PM
    Overloading methods are supported by the Java programming language and methods could be distinguished by Java using various method signatures. Within class, methods might be having similar name when different lists of parameters are present.

    Let us assume that a class is there which uses calligraphy for different data type drawing and which have a method to draw each type of data. New names are used for every method, like drawString, drawFloat and drawInteger & so on. Same name ...
    Categories
    Overloading