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. Wow, incredible code!! With some brains this is a
View Tutorial          By: Dem0-n at 2011-06-11 07:10:12

2. Very good example .. i ve written this program . P
View Tutorial          By: gomz at 2011-09-26 12:33:54

3. fitst read fully and put comments
View Tutorial          By: prasant at 2009-10-07 06:16:19

4. i need table example!!!...
View Tutorial          By: Sadyog at 2011-01-03 21:59:09

5. xml response is :

<?xml version=

View Tutorial          By: Madhu at 2011-06-29 09:47:51

6. Gives a syntax error
View Tutorial          By: Siddharth at 2015-06-10 05:15:00

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

8. this is really cool......
View Tutorial          By: solex at 2009-05-16 04:02:35

9. package practice_bo;

import practic

View Tutorial          By: nishi at 2011-12-09 02:00:20

10. very usefull article............ thanks to the aut
View Tutorial          By: runa at 2010-10-16 08:43:38