What does this Function do? (Homework help).

I have this Assignment, and I can't figure out what this functions is actually trying to do.
public class float1{
     public static void main(String[]arg){
          int i = 1<< 30 + 65534;
          float x = (float) + 1;
          int j = (int) x - 1;
          System.out.println(j);
}     the int i = i<<30 + 65534; it's really confusing me. I have never seen that kind of statement in java. It prints 0 at the end, but if i change the numbers around, it will print a totally weird number.

http://java.sun.com/docs/books/tutorial/java/nutsandbolts/op3.html

Similar Messages

Maybe you are looking for

  • Speed on podcasts

    Just upgraded to ios5, but now there is no speed button on the music player, so all the podcast play at slowww speed. The iphone still has the speed button. The repeat buttons still exist for the music, but for podcast no buttons. I have restored and

  • File - Soap - File

    I created a  scenario which using file adapter to send out a xml message, then I want to use SOAP adapter to receive the message and send it to a web service for getting the response back. And I want this Response to be send thru File Adapter(xml mes

  • I can't view PDF files in Adobe Arcobat/Reader in Firefox v5, but I can view them in Internet Explorer?

    I have the current versions of Adobe Acrobat/Reader and Firefox

  • Google search problem in safari

    I went to do a google search and used the window in Safari. When I hit go, I get results but they look strange. Only the search term and then most of it is blank. It's as if the page is so big that I can't see the rest.  When I go to the bottom of th

  • Outlook won't work

    I just bought an iMac computer and Office 2011 for it also. After downloading however, Outlook doesn't work and won't even open while everything else works fine?