This is A Helping thread For java.com's Java Operations While using Java's Programming language.
To those that might think i may leech
I am not.
And idc about leechers leeching my thread and editing it up a bit
But im Sure this guide will help you with Java.com's Java Operation's
Simple Assignment Operator
Code:
= Simple assignment operator
Arithmetic Operators
Code:
+ Additive operator (also used for String concatenation)
- Subtraction operator
* Multiplication operator
/ Division operator
% Remainder operator
simple as that adds, subtracts, etc.
Unary Operators
Code:
+ Unary plus operator; indicates positive value (numbers are positive without this, however)
- Unary minus operator; negates an expression
++ Increment operator; increments a value by 1
-- Decrement operator; decrements a value by 1
! Logical compliment operator; inverts the value of a boolean
Code:
Vocab definitions of hard words!
incrementing: something added or gained; addition; increase. pretty much "increasing"
Code:
decrementing: the act or process of decreasing; gradual reduction. pretty much "decreasing"
Summary of Operators
Equality and Relational Operators
Code:
== Equal to
!= Not equal to
> Greater than
>= Greater than or equal to
< Less than
<= Less than or equal to
When you see:
doesn't equal to null.
Conditional Operators
Code:
&& Conditional-AND
|| Conditional-OR
?: Ternary (shorthand for if-then-else statement)
Bitwise and Bit Shift Operators
Code:
~ Unary bitwise complement
<< Signed left shift
>> Signed right shift
>>> Unsigned right shift
& Bitwise AND
^ Bitwise exclusive OR
| Bitwise inclusive OR
Well I hope I helped you And Most Credits go to Java.com and their Programming language.
And Like 1 credit to me (Verified)
Thanks,
Verified
EDIT:
have some info:
Im going to use fake methods in this.
They can be used in java in lots of ways
if (playerFall == 2) {
The operators using == 2,
means that you need to have ur playerFall as 2 to use the the void, method, etc.
Now:
if (playerFall != 2) {
means if u dont have ur playerFall set to 2, you can use this method, void, etc.
Now:
if (playerFall >= 1) {
means if your playerFall is greater or equal, you can use the void, method, etc.
Now:
if (playerFall > 1) {
means if your playerFall is greater than 2, you could use the method, void, etc.
Now:
if (playerFall < 2) {
Now:
if (playerFall <= 2) {
mean if your playerFall is less than equal to 2 , you can use the void, method, etc what ever ur using like commands.
Ok thats ity for now and ima edit it soon so be patient!