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

Publié le: 22 octobre 2012
sur la chaîne: 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...  


Sur cette page du site, vous pouvez voir la vidéo en ligne Android Tutorial Java-Operators(Part-6) | Edureka durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur edureka! 22 octobre 2012, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,663 fois et il a aimé 4 téléspectateurs. Bon visionnage!