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. Thank you, very useful example!
View Tutorial          By: Hui Chun Wai at 2013-03-24 15:07:53

2. Fantastic work guys
View Tutorial          By: wizard at 2012-09-22 04:18:59

3. Thank you very much sir.
One can simply exe

View Tutorial          By: rudhin at 2013-05-10 12:32:57

4. thanx it i very helpful 4 me as i m new with java
View Tutorial          By: akminder at 2011-08-09 05:09:19

5. Hi,
I wann to insert data into excel file b

View Tutorial          By: PRUTHVIRAJ RATHOD at 2011-05-23 11:42:14

6. Simple and to the point. Thanks for this tutorial.
View Tutorial          By: Balvinder at 2008-08-03 04:40:05

7. can you clearly reveal how to create crystal repor
View Tutorial          By: halim at 2011-07-02 00:28:48

8. What is the exact meaning for the symbol of java?<
View Tutorial          By: Aravind at 2013-06-24 10:52:28

9. i9s this such a hard ?

my head was

View Tutorial          By: shadow_5566 at 2009-05-14 01:32:01

10. org.replaceAll("is","was"); en
View Tutorial          By: nirosha at 2013-01-28 16:19:11