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



Comment Added by : siraj

Comment Added at : 2016-12-05 15:10:51

Comment on Tutorial : left shift operator, <<, in Java By Emiley J
can you explain the line below
left-shifting the value 64 (0100 0000) twice results in i containing the value 256 (1 0000 0000).

please explain, how did you got 256.


View Tutorial



Ask a Question

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. Great! Concise, helpful, a real life-saver. Google
View Tutorial          By: Motti Shneor at 2012-07-31 14:29:37

2. how to display images in j2me?? thank you :)
View Tutorial          By: bill at 2011-06-23 23:59:41

3. Nice article .... Thank you...
View Tutorial          By: viswa at 2012-06-16 17:21:59

4. this tutorial is very nice but if it contains more
View Tutorial          By: JOHN.J at 2007-11-29 23:56:06

5. Hi i have created the 5 files and in main program
View Tutorial          By: Anandkumar at 2011-09-10 05:13:59

6. Hi!
Any body have code for recieving sms fr

View Tutorial          By: Haseeb at 2009-07-01 04:59:13

7. lolz what's the code not working in JSP may be sen
View Tutorial          By: lolz at 2008-12-10 03:31:50

8. Very good example .!
Ty

View Tutorial          By: Mprogrammer at 2014-11-25 12:10:21

9. errr! how about reopening the file, and transfer t
View Tutorial          By: szel at 2010-10-05 20:01:04

10. Dude, u xplaining lyk u already telling pros!Pls t
View Tutorial          By: Brianjambo at 2009-04-14 06:32:13