0

I need to define some method that the argument is some pointer of other method ( in different class ( with specific signature )

How can i do it on android ( java ) ?

Yanshof
  • 9,659
  • 21
  • 95
  • 195
  • You can not, See here https://stackoverflow.com/questions/40480/is-java-pass-by-reference-or-pass-by-value lets go with @Juan suggestion I believe there is an alternative for your problem! – Xenolion Dec 09 '17 at 11:42
  • In Java you don't have pointers as in C. Perhaps if you explain what you want to resolve there is another way arround someone could sugest. – Juan Dec 09 '17 at 11:42
  • @ Juan :: I know, but i need to give an argument like pointer .. reference to some other method – Yanshof Dec 09 '17 at 11:44
  • Not in Java I guess! @Yanshof – Xenolion Dec 09 '17 at 11:52

0 Answers0