• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I got no work today. I am so horribly bored

 
Preeti Jain
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
MInu
Ranch Hand
Posts: 517
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spend time to upgrade your knowledge.

Okay, I give you an assignment.

int x = NUMBER;
System.out.println(x == -x);

What should be the value of NUMBER to print �true� using above statement?
(Hope you do not know the answer.)
 
Vijendra Runwal
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey chetan
can i answer the question as i am also bored.
is that 0
wild guess!!
am i right

:roll:
 
Tran Quoc Viet
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"If you have a farm and a library, you have every thing"

Chetan: What does this sentence mean?
 
Kuvempu Puttappa
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Brother,it means he will read the books all the time sitting quietly in a farm.Thats his dream.
 
Aj Mathia
Ranch Hand
Posts: 478
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Preeti Jain:


Think about how you can spend the money you earned without doing anything :roll:
 
Zip Ped
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No work - tests your patience. I had to wait for almost 2 months to get some work. I spent most of my time reading books, going through articles and looking at the clock for the hour hand to strike 5pm.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vijendra Runwal:
hey chetan
can i answer the question as i am also bored.
is that 0
wild guess!!
am i right

:roll:


Apart from zero, which other number(s)?
[ May 07, 2006: Message edited by: Chetan Parekh ]
 
Angela Poynton
Ranch Hand
Posts: 3143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so you've got no work today and your BORED??
Do you have nothing in your life outside work?
Do not make work your life, it should only be a small part of your life. Go out, meet people, have fun, take up a hobby, learn about something enitrely seperate from work.
There's no excuse for bordom, bordom only shows a lack of imagination.
 
N Kriplani
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need a life. I have tons of things to do when I have less/no work in the office. You should be thanking your lucky stars.

For example if it's nice outside, I go out for a walk. Enjoy the singing/chirping of the birds; Spring is here! Breathe the fresh air. Stretch Out. Observe how the trees change color. I try to enjoy the simple pleasure of life.

I even saw a couple of huge Vultures the other day.
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

int x = NUMBER;
System.out.println(x == -x);
What should be the value of NUMBER to print �true� using above statement?


int x = Integer.MAX_VALUE + 1;
System.out.println(x==-x);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic