• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interface problem?

 
harsh garg
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody give me the example for pass by reference in interface?example should be in J2SE..
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you mean passing an object(which implements interface) as an argument or want to understand

pass-by-reference ?
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everybody seems to be asking about pass-by-reference today. Look at this and this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic