what is the output of sample code very urgent

int i=1i>>31 i<<31 i=1j=1j>>31j>>15
[108 byte] By [veltria] at [2007-11-26 21:09:09]
# 1
Too bad I only saw this post half an hour after it has been posted. Since it was so urgent, I won't bother answering: it's probably too late.
prometheuzza at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...
# 2
> int i=1>i>>31 > i<<31 >i=1> j=1>j>>31> j>>15Try it out and see.#
duckbilla at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...
# 3
i guess his teacher just asked him in class and he said "ill have it by the end of the lesson..."
Futurisdom_Developera at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...
# 4
> i guess his teacher just asked him in class and he> said "ill have it by the end of the lesson..."The OP is the teacher. He is trying to stay one step ahead of his students.
sabre150a at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...
# 5
what is the output of sample codeRun it and see. Or look up those operators in the JLS or a tutorial and figure it out.very urgentOnly to you, and your urgency doesn't mean anything to anybody here.
jverda at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...
# 6
I'm going to take pitty on the OP and answer his question.There is no output.If you need output, look at the java.io package. Another option is using the javax.swing package.Message was edited by: BillKrieger
BillKriegera at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...
# 7
There is output. It will be like "cannot find symbol: j" and will happen when compiling. :)
CeciNEstPasUnProgrammeura at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...
# 8
and a lot of missing semicolons!
Peetzorea at 2007-7-10 2:44:59 > top of Java-index,Java Essentials,Java Programming...