Tag Archives: constructor overloading in java

Constructor Overloading

In our earlier post we learnt about method overloading.Today we shall apply that technique to overload constructors.A method is said to be constructor if the name of the method and the name of the class where it presents is same.During … Continue reading

Posted in Java | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Method Overloading

Method in any programming language are those which reduce the burden of main method.Many of us got a problem where we can’t define two methods with the same name.Today we shall find a solution and write a sample program to … Continue reading

Posted in Java | Tagged , , , , , , , , , , , , , , | 1 Comment