My blood is tested +ve for Java.
My blood is tested +ve for Java.
Namma Suvarna Karnataka
My blood is tested +ve for Java.
Namma Suvarna Karnataka
Originally posted by Arjunkumar Shastry:
1)Write a program using java.util.Random to generate ten digits random numbers each starting with 982(or whichevet 3 digits in your area)
Mani
Quaerendo Invenietis
Originally posted by Chetan Parekh:
Hello!
We were just discussing about mobile phone and one question come-up.
Suppose my no is :1234567890
Now I forgot that my mobile no is 1234567890 (Due to any reason) and I am not able to recall it.
How can I find out what no I have?
I don’t want to call anybody. Don't want to ask anybody. Don't want to check in my bills.
I called to Orange/Mumbai help line, they told me to store my own contact information in address but search the same if you forget.
Does anybody has any lateral idea?
Regards,
Chetan
- Varun
Originally posted by stara szkapa:
I imagine the phone reads it from the sim card and puts it there.
Mani
Quaerendo Invenietis
Originally posted by Mani Ram:
Why use Random? Why can't you just do it sequentially?
Namma Suvarna Karnataka
Mani
Quaerendo Invenietis
ii) Dial the numbers one by one, manually, from your mobile
My blood is tested +ve for Java.
Originally posted by Chetan Parekh:
I have already mentioned that I don't want to make any call from my mobile.
Mani
Quaerendo Invenietis
My blood is tested +ve for Java.
Originally posted by Arjunkumar Shastry:
I think randomness should give equal probability to every number.
Mani
Quaerendo Invenietis
[ flickr ]
Originally posted by Mani Ram:
But how does that matter? In any case, you want to generate all the possible numbers (9820000000 to 9829999999), right? If that is the case, it is faster and easier to generate them sequentially than to generate them in random.
Namma Suvarna Karnataka
Originally posted by Mani Ram:
Why use Random? Why can't you just do it sequentially?
The future is here. It's just not evenly distributed yet. - William Gibson
Sonny Gill LinkedIn
Tweets
Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I have an idea: take the cell, put it on a cement floor, hit it very hard with a hammer. Then from now on, write people letters, instead.
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Originally posted by Chetan Parekh:
I don’t want to call anybody. Don't want to ask anybody. Don't want to check in my bills.
Each number system has exactly 10 different digits.
Originally posted by Pradip Bhat:
Some service provider provide an option where you call *#xxx# to find your own number.
Mani
Quaerendo Invenietis
Money for nothing and Java for Free
SCJP, SCWCD
Originally posted by madhup narain:
remember this time to writ down that number somewhere
Namma Suvarna Karnataka
ph34r my 133t j4v4 h4><0r1ng sk177z
"A wish changes nothing. A decision changes everything." - Unknown
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |