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



Comment Added by : vikas

Comment Added at : 2017-02-23 07:27:51

Comment on Tutorial : left shift operator, <<, in Java By Emiley J
public static void main(String[] arg) {
int a=12;
int i;
i=a<<12;
System.out.println(i);

please telll how it will work????

Thanks


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. the example program is very simple to understand a
View Tutorial          By: Zubilu at 2010-10-06 00:19:13

2. hi guys,

i want some

View Tutorial          By: THANGA at 2012-03-19 15:24:38

3. Daniel, i think you need another func, also you ca
View Tutorial          By: רופא שיניים at 2009-08-15 16:48:07

4. Animation code(very Similar to this) is not workin
View Tutorial          By: Rakesh Kumar at 2012-04-23 09:42:55

5. Hello Ramlak, I am too getting
java.lang.U

View Tutorial          By: Amruta at 2008-11-07 23:56:17

6. Thanks a lot lot lot for this, but when I run the
View Tutorial          By: Kedjimo at 2011-10-06 06:13:10

7. thanks for this pertinent remark.
View Tutorial          By: mohammed at 2009-02-21 05:43:11

8. this is WRONG!

your IF should be:
View Tutorial          By: notnooblikeyou at 2013-01-29 15:11:30

9. I am able to iterate the list.Now i want to print
View Tutorial          By: akanksha at 2012-09-26 05:25:12

10. Hi Ramlak,
I am using jdk1.4.2 to run the a

View Tutorial          By: mounika at 2008-04-27 03:05:36