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



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. Very precise and informative tutorial. Appreciated
View Tutorial          By: Rishi Raj at 2011-07-08 12:25:04

2. thanks a lot that helped.. =D
View Tutorial          By: Karthik at 2008-11-16 02:27:53

3. No it won't work...
View Tutorial          By: Arin at 2012-08-17 09:59:40

4. U should give the output also.. then only it will
View Tutorial          By: Mohamed Younus at 2011-07-07 10:13:54

5. hi i want to send a message from my site to a phon
View Tutorial          By: dinesh at 2009-09-16 10:25:37

6. Hi Rajesh, you have found the right site. look at
View Tutorial          By: mohan at 2008-07-27 08:55:17

7. This is the solution that I also used, however, th
View Tutorial          By: Rob Ingenthron at 2012-07-18 23:06:18

8. Cool! Downloading the whole file with the HttpCon
View Tutorial          By: Luddite at 2010-06-26 12:26:26

9. wow !!! worked well
View Tutorial          By: Rajesh at 2012-08-30 10:54:53

10. Managing several submissions can be a lot more sim
View Tutorial          By: Curran Cline at 2012-12-18 05:43:44