File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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)){
It is sorta covered in the JavaRanch Style Guide.
subject: about if-else
It's not a secret anymore!