Results 1 to 2 of 2
Thread: Really new to java
- 04-12-2012, 02:15 AM #1
Member
- Join Date
- Apr 2012
- Posts
- 1
- Rep Power
- 0
- 04-12-2012, 02:28 AM #2
Re: Really new to java
I think the logic you are talking about is the same in java as many other similar languages.
You use if statements to choose between different execution paths. You control the if statement by using boolean expressions.
See the tutorals:
Equality, Relational, and Conditional Operators (The Java™ Tutorials > Learning the Java Language > Language Basics)
Control Flow Statements (The Java™ Tutorials > Learning the Java Language > Language Basics)
Expressions, Statements, and Blocks (The Java™ Tutorials > Learning the Java Language > Language Basics)If you don't understand my response, don't ignore it, ask a question.


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks