Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 input
Index -> Programming, Java -> Java Help
Goto page Previous  1, 2, 3, 4
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
[Gandalf]




PostPosted: Wed May 03, 2006 5:09 pm   Post subject: (No subject)

Questions are good, so long as you are also able to find the answers on your own.
code:
Java  Turing
=     :=
==     =

This is some very basic and essential knowledge. Perhaps you should read wtd's introduction to java thread.
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Wed May 03, 2006 5:17 pm   Post subject: (No subject)

Tony wrote:
if is looking for a boolean operator to evaluate

in
code:

if (operation = "A"){


I think that should be:

Quote:
if is looking for a boolean expression to evaluate


The operator is irrelevant, as long as the expression returns a boolean value.
wtd




PostPosted: Wed May 03, 2006 5:18 pm   Post subject: (No subject)

[Gandalf] wrote:
Questions are good, so long as you are also able to find the answers on your own.
code:
Java  Turing
=     :=
==     =


This is much too basic a comparison. The Java operators are considerably more nuanced in their behavior than those from Turing highlighted here.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 4 of 4  [ 48 Posts ]
Goto page Previous  1, 2, 3, 4
Jump to:   


Style:  
Search: