Comment on Tutorial - Method Overloading (function overloading) in Java By Abinaya



Comment Added by : vijay

Comment Added at : 2012-04-20 10:34:30

Comment on Tutorial : Method Overloading (function overloading) in Java By Abinaya
I have a small query: Is it interface allow method overloading type declaration of method?

Ex: public interface SampleInterface {

public void display(String name);
public void display(String name,int age);

}
Is it correct interface defining or not?


Thanks in Advance.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. plz wait for your solution
View Tutorial          By: Desai Rajesh at 2010-03-11 22:00:32

2. Nice basics. Very helpful
View Tutorial          By: Gorav at 2011-11-11 12:46:28

3. Hi to all,

I worked on this project

View Tutorial          By: Ashish Agrawal at 2013-06-05 08:38:16

4. Thanks for this explanation. I'm not sure whether
View Tutorial          By: Venkatesh Challa at 2013-03-29 04:35:21

5. Thanks a lot for that excellent explanation. It ha
View Tutorial          By: Gregory at 2014-12-30 05:49:21

6. Great one on java-xml binding..
View Tutorial          By: Ranadeep Roy at 2008-07-03 23:15:22

7. very superb
View Tutorial          By: bala at 2008-05-14 04:49:24

8. 3. Write a program that will continuously ask for
View Tutorial          By: basil at 2011-08-04 13:00:30

9. @bibiki, you are right for simpler conditions what
View Tutorial          By: Marcin at 2012-04-05 02:34:13

10. do we require a gsm modem for sure ? aren't there
View Tutorial          By: sherry at 2012-07-10 11:28:58