Comment on Tutorial - left shift operator, <<, in Java By Emiley J



Comment Added by : Salman

Comment Added at : 2017-04-09 04:00:09

Comment on Tutorial : left shift operator, <<, in Java By Emiley J
I did not understand the topic. Can u tell me what is the output for
System.out.println(5<<2);
System.out.println(5>>2);
And please explain. Thank you.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. i am getting the erorr such as:::::
Error l

View Tutorial          By: supriyo at 2011-02-21 13:17:00

2. @Prab, no its 7 since it starts the counting at 0
View Tutorial          By: Shadowfaux at 2009-11-21 15:22:49

3. thank you very much....
View Tutorial          By: divya at 2013-01-06 15:50:43

4. hey i can write more simple example of this pointe
View Tutorial          By: shruti at 2010-03-03 09:44:58

5. How can I store a file in device internal memory a
View Tutorial          By: Fabio at 2014-11-20 11:25:41

6. short notes to struts,but i expect more explanatio
View Tutorial          By: jayashri at 2011-11-23 18:24:07

7. Hi
Can u plz tell me how to implement this

View Tutorial          By: Rohan at 2008-09-23 05:52:31

8. Hi Sir...
sir i am a student and I am work

View Tutorial          By: Sanzu at 2013-02-12 09:13:01

9. its realy gud which clears minor douts regarding t
View Tutorial          By: Shripad at 2010-01-19 05:40:41

10. There is no comparison of performance in the artic
View Tutorial          By: Tomas at 2010-01-17 05:53:48