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. Sat Apr 23 10:44:14 IST 2011:Sender:*** time out a
View Tutorial          By: sasivarnan at 2011-04-23 01:17:18

2. hello
i am developing a budget application

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

3. hi am new to java! i need some simple java program
View Tutorial          By: Anu at 2010-09-08 08:17:49

4. send c++ programs on every topic of c++
View Tutorial          By: mandeep at 2009-07-11 00:50:23

5. me too
View Tutorial          By: bellyjoy at 2010-05-07 03:14:14

6. does this code work with netbeans. if not can anyo
View Tutorial          By: Alton at 2010-04-02 22:36:57

7. i want some explanation about struts form field va
View Tutorial          By: ramizah at 2007-10-03 23:40:11

8. i want code to Migration from IPV4 to IPV6 at appl
View Tutorial          By: i want code , can you send me at 2015-01-23 14:38:48

9. You are using "this" to start to the thr
View Tutorial          By: sumit at 2014-10-30 08:14:55

10. Thanks a lot for your tutorial.
(: It was v

View Tutorial          By: Nevermore at 2011-08-03 10:39:32