• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

char as parameter

 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody
I don't know what should be pass in a method which takes char as an argument .What should i put in the place of "?" in the code below . Thanks!!
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chars use single quoted text characters, like 'a' 'b' 'c'.
 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve Luke wrote:chars use single quoted text characters, like 'a' 'b' 'c'.

O Thanks a ton Steve
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic