Android Tutorial Java-Operators(Part-6) | Edureka

Publicado el: 22 octubre 2012
en el canal de: edureka!
1,663
4

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...  


En esta página del sitio puede ver el video en línea Android Tutorial Java-Operators(Part-6) | Edureka de Duración hora minuto segunda en buena calidad , que subió el usuario edureka! 22 octubre 2012, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,663 veces y le gustó 4 a los espectadores. Disfruta viendo!