• Post Reply Bookmark Topic Watch Topic
  • New Topic

about if-else  RSS feed

 
ming ming
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In the above code y when i enter the name "Jason", it will not display the name???
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if ("Jason".equals(name)){
...
}
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!