Tuesday, June 1, 2010

What is the difference between an argument and a parameter?-

I have updated in http://www.freejavaclass.com/

While defining method, variables passed in the method are called parameters. While using those methods, values passed to those variables are called arguments.

No comments:

Post a Comment

How can instantiate Java interface without implementing.

public interface Foo { String method(); } public class Claaa {    public static void main(String[] args) {     Foo fooByIC...