Click here to Skip to main content
16,016,623 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
please answer this question if u r know that
Posted

Hey there,

Answer is yes, here is a little more info about Java methods, give it a read:

http://www.cs.utoronto.ca/~dianeh/tutorials/params/[^]

Azee...
 
Share this answer
 
Yes, you can. Any object. If it wasn't the case, how do you think Java could possibly work? :-)

—SA
 
Share this answer
 
Comments
Member 10307766 1-Oct-13 3:52am    
My question is not about methods obtained using object.My question is can we pass one class object as argument to another class method
Shubhashish_Mandal 1-Oct-13 4:08am    
yes you can..
Sergey Alexandrovich Kryukov 1-Oct-13 8:34am    
My answer is not about methods obtained using object. My answer is: can we pass one class object as argument to another class method? Yes, you can.

Look, your question makes no sense, as well as your comment.

—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900