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. hi Ashray P Shetty,
I want assistance in th

View Tutorial          By: Shabbir Manasawala at 2010-11-19 02:02:43

2. Hi,
I'm new one for android, i will devel

View Tutorial          By: Ragupathy at 2011-09-29 08:12:53

3. need to be place taglig in the <jsp-config>
View Tutorial          By: Shaik Basha at 2013-01-30 03:11:41

4. i didnot get the answer
View Tutorial          By: ramana at 2013-02-04 06:36:37

5. it is very useful to others............,thanx
View Tutorial          By: jey at 2012-01-06 08:53:22

6. i did the same thing..but it s nt working.. :(
View Tutorial          By: dEviL at 2008-12-03 10:20:31

7. I want more example of bufferedReader.
View Tutorial          By: Romulado Bacor at 2011-11-25 01:18:57

8. Thanks a lot Ramlak! This is still very useful af
View Tutorial          By: Jacky at 2009-08-08 23:49:12

9. what's the deffrint between "String[] [] Arra
View Tutorial          By: ahmad at 2009-08-24 03:01:11

10. great solution and brief explanation, love it.
View Tutorial          By: habesha at 2011-12-02 16:14:45