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. 2nd example not gud
View Tutorial          By: prakash at 2011-11-15 11:07:43

2. you example does not run it errors can you pls fix
View Tutorial          By: dionesia at 2009-08-24 05:27:37

3. more daitlled coding for me
View Tutorial          By: fred at 2008-07-15 05:56:49

4. very good
View Tutorial          By: Deepika at 2012-03-26 07:00:29

5. thanks ........... its so easy and interesting to
View Tutorial          By: sammy at 2011-07-25 00:47:44

6. To "need help":

String st

View Tutorial          By: alex at 2010-05-13 09:57:25

7. Oh! Emiley, thank you very much! There are two lo
View Tutorial          By: Alexey at 2009-04-09 14:17:31

8. sir, i want if,if else,nested if..... concept in o
View Tutorial          By: krishna at 2015-08-14 08:58:01

9. I'm a beginner, and I was told it is a good practi
View Tutorial          By: Nelson at 2009-08-17 09:13:28

10. I HAVE ONE DOUBT.

public class Anim

View Tutorial          By: georgy at 2009-10-22 02:46:10