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. NICE SITE
View Tutorial          By: MAEN ZIAD HUDAIB at 2009-07-01 01:55:28

2. Hi,

Just wonder if there is a way t

View Tutorial          By: Bank at 2007-12-18 04:30:26

3. Good one
View Tutorial          By: Soumya Anoop at 2010-05-13 23:23:44

4. This is all the code that you need for creating dr
View Tutorial          By: subduedjoy at 2012-03-20 20:52:18

5. The same article is originally given on struts apa
View Tutorial          By: Fact at 2011-05-09 16:19:18

6. really very excellent example....ThanQ...:)
View Tutorial          By: Tulasi at 2010-08-17 00:41:21

7. sir plz give ur sugissions for my golden future in
View Tutorial          By: sridevi at 2012-06-06 10:26:36

8. hello
i am developing a budget application

View Tutorial          By: anu at 2010-04-16 04:26:36

9. Hi Everyone, i tried the code. im using this code.
View Tutorial          By: sourabh at 2011-09-09 12:42:02

10. Pl send some sample program for speech to text wit
View Tutorial          By: gokul at 2012-09-27 10:28:19