• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

I got no work today. I am so horribly bored

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Ranch Hand
Posts: 517
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
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.)
 
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:
 
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?
 
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.
 
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:
 
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 ]
 
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.
 
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.
 
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);
 
Space pants. Tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!