This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes interface problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface problem?" Watch "interface problem?" New topic

interface problem?

harsh garg
Ranch Hand

Joined: Jul 13, 2008
Posts: 33
can anybody give me the example for pass by reference in interface?example should be in J2SE..
Steve Luke

Joined: Jan 28, 2003
Posts: 4167

Have you tried this page and this page?

After doing your research as above, do you think we could actually give you an example of 'Pass by Reference' in Java, using Interfaces or otherwise? Why is that?

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

you mean passing an object(which implements interface) as an argument or want to understand

pass-by-reference ?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38045
Everybody seems to be asking about pass-by-reference today. Look at this and this.
I agree. Here's the link:
subject: interface problem?
Similar Threads
Interfaces implicitly public?
What is a Interface
no body method and not abstract
Interface & Implementation class location
Usage of 'programming to an interface'