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. I have ran this code but each port has raised an &
View Tutorial          By: Jawnie at 2012-03-29 07:23:22

2. Is operator overloading possible in java??????
View Tutorial          By: rishi at 2008-11-01 23:55:55

3. Hi Rima,

Check out http://forums.su

View Tutorial          By: Ramlak at 2008-12-28 03:00:01

4. thx a lot
View Tutorial          By: lupita at 2013-09-04 18:58:40

5. return type doesn't influence the overloading. Onl
View Tutorial          By: Shekhar at 2010-05-17 01:22:04

6. i want to get the SCJP ceretificate plz anybody ca
View Tutorial          By: arpita kotadia at 2012-09-01 06:50:03

7. Nice one , Compailed no Errors ... but when execut
View Tutorial          By: Diamant at 2012-12-04 00:17:11

8. Hi.
How we can create list with menuitem in

View Tutorial          By: omid at 2008-09-08 02:09:50

9. i want to make java editore in my major project.i
View Tutorial          By: pawan patel at 2012-04-14 11:15:19

10. hi,this is nishad from india.....
i have a

View Tutorial          By: NISHAD at 2008-09-06 09:23:15