codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  what is the different  abcdef1 at 07:05 on Thursday, February 10, 2011
 

What is the difference between these two statements:

1) return foo.equals("hello");

2) return "hello".equals(foo);

  Re: what is the different  Elain at 06:02 on Monday, February 14, 2011
 

Althrough i can't say clearly what is the different about the two statements, i think the first one is practical "hello", another one is practical "foo".
_______________________
logo maker|flash banner








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Free PHP Programming Tutorials
•  Re: data type decimal
•  Re: highlight a single row from table
•  Re: Waiting to load a page object after the page loads
•  Error while running c++ shared object on AIX
•  Re: call a page from another page without any link?
•  How to make a DHTML Menu
•  Re: Submit multiple forms with one button
•  Re: Layer & Drop Downs - Expertise Needed


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2011