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. thanks. worked.
View Tutorial          By: che at 2010-03-10 11:29:10

2. Thanks for the explanation. I had read about this
View Tutorial          By: Sidharth Sahoo at 2012-09-12 16:26:07

3. The concept is clear.
View Tutorial          By: sam at 2012-08-23 03:52:15

4. /** Example shows garbage collector in action

View Tutorial          By: sreekar at 2010-05-08 07:58:09

5. Interfaces contains all abstract methods(with out
View Tutorial          By: Mahesh at 2012-11-09 06:14:47

6. yes,it is a very nice example for abstract classe
View Tutorial          By: saranya at 2010-07-16 05:56:53

7. Hi every one. I am working on my project in j2me a
View Tutorial          By: wazir at 2010-11-26 08:27:43

8. really understandable
but 'm expecting with

View Tutorial          By: rajkumar at 2008-03-14 03:53:21

9. nice one to understand the basic steps of jdbc....
View Tutorial          By: trishna at 2011-06-10 00:04:21

10. I faced an exception "java.net.connectExcepti
View Tutorial          By: Sandhya Rani Vellanki at 2010-11-15 00:39:24