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. Thanks a lot!
The main reason why we need t

View Tutorial          By: SA at 2011-06-24 15:00:13

2. Hi, i am newly in java,please send me on sample pr
View Tutorial          By: aruna.k at 2012-12-13 06:05:44

3. Great! Thanks!
View Tutorial          By: sciarp at 2008-05-11 05:04:17

4. very nice but i want some more exapmles
View Tutorial          By: prasad lengare at 2010-10-03 23:12:47

5. Please guys i need sms.zip. I tried SMS.RAR but al
View Tutorial          By: Waseem at 2010-03-06 15:48:40

6. i found this very pleasing for both my brain and m
View Tutorial          By: Matthew Redisons at 2012-10-03 14:36:32

7. How to draw a thick circle in midlet?
View Tutorial          By: masi at 2011-12-01 11:47:00

8. Thank you. It is very good.
View Tutorial          By: tapes pra at 2011-12-08 09:23:31

9. Hello,
I have downloaded this code

View Tutorial          By: Parthasarathi at 2009-09-21 02:09:49

10. Is there a code that can hide smses, when they ent
View Tutorial          By: James at 2010-11-18 03:32:56