Take a Free introductory instructor-led Live class at : http://www.edureka.co/android-develop...
This android tutorial talks about Operators in detail:
Assignment Operators
Arithmetic Operators
Relational Operators
Logical Operators
Unary Operators
Assignment Operator :
---------------------------------
One of the most common operators is assignment operator "=". It assigns the value on its right to the operand on its left:
For ex :-
int age = 50;
float money = 6000.00;
This operator can also be used on objects to assign object references.
Arithmetic Operators :
--------------------------------
These are all basic operators which you might be seeing since 1st grade. However "%" here is called modulus operator which gives a remainder when you divide two numbers
For ex -
4 % 3 = 1,
5 % 3 = 2,
6 % 3 = 0
(+) -- additive operator
(-) -- subtraction operator
(*) -- multiplication operator
(/) -- division operator
(%) -- remainder operator
Please write back to us at support@edureka.in or call us at +91-8880862004 for more information.
http://www.edureka.co
Use the link to watch all videos of this session :
• Android Tutorial - Java Essentials for And...
In questa pagina del sito puoi guardare il video online Android Tutorial Java-Operators(Part-6) | Edureka della durata di ore minuti seconda in buona qualità , che l'utente ha caricato edureka! 22 ottobre 2012, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,663 volte e gli è piaciuto 4 spettatori. Buona visione!