permaculture playing cards
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes about if-else Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "about if-else" Watch "about if-else" New topic

about if-else

ming ming
Ranch Hand

Joined: May 17, 2006
Posts: 54

In the above code y when i enter the name "Jason", it will not display the name???
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
if ("Jason".equals(name)){
I agree. Here's the link:
subject: about if-else
It's not a secret anymore!