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



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. Could you please send me steps to execute the code
View Tutorial          By: Roshan at 2009-12-23 21:32:29

2. hi.. how can i extrate day, month, year from date
View Tutorial          By: avkash at 2010-10-03 05:19:58

3. How would you use a switch statement to determine
View Tutorial          By: Shivak at 2013-09-27 01:48:41

4. thanks. that was fair enough. :)
View Tutorial          By: Mustafa at 2010-05-16 10:12:33

5. I have one doubt from drop down box, i have two va
View Tutorial          By: subash at 2008-11-09 22:27:45

6. really this introduction makes me very interesting
View Tutorial          By: Himaja Reddy at 2012-11-09 06:57:31

7. thank u.....
View Tutorial          By: DiptaRanjan at 2013-02-02 14:56:45

8. Nevermind, I was able to modify both applications
View Tutorial          By: Matthew at 2009-06-16 14:10:20

9. give some good examples very bad i dont lke dis ex
View Tutorial          By: abinaya banu at 2014-07-14 06:04:28

10. My question is, from where the name "java&quo
View Tutorial          By: Sreedevi at 2013-05-18 10:41:38