• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling/invoking methods  RSS feed

 
tom goh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I invoke these 4 methods? (only method headers are given)

1. Printing the text message given by the user.




2. Testing whether a number is even, and returning true if it is.




3. Finding the corresponding uppercase letter, given a lowercase letter.




4. Finding the reversed string given by the user









 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Do you really mean invoke, or do you want to know how to implement those methods? We don't supply complete solutions like that, so please show us what you have got so far and we'll comment about it.
 
praveen kumaar
Ranch Hand
Posts: 461
22
Android Chrome Eclipse IDE Google App Engine Java Notepad Oracle Ubuntu Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tom,
FirstPost.println(Welcome to the CodeRanch).

Kind Regards,
Praveen.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!