File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why call int version,not char version?

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
First of all I wanna apologize for posting this topic again, but I really do not understand what is going on. I have read each and every ones reply and I still have some question
first of all
I have created the following code

The out put when I run this main method is
int version printed out
[B]f[B]
Now all I do is interchange the parameters for the printMethod so now my code looks like

Now guess what the output is
char version printed out
f
I have looked in the previous topic again and again and I am not able to understand this. Also I have looked at the JLS and it does not help either. Please if you guys don't mind can you help me with this one.....
Thanks in advance
 
Ragu Sivaraman
Ranch Hand
Posts: 464
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please scroll down the list of questions posted
you will wide variety of explanations for this question
ragu
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic