What does nextint () do in java?
Answer / Yogesh Yograj
nextInt() in Java is a method in the Random class that returns a random integer within a specified range, but outside that range it may produce negative numbers. The default range is from 0 (inclusive) to the next int value (exclusive).
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between ‘>>’ and ‘>>>’ operators in java?
if num=687; U have to get num=6+8+7;
How do I get 64 bit java?
What is bitwise complement?
What is the difference between Java and C++?
1 Answers Integreon, TCS, ZS Associates,
Is void a wrapper class?
Can java object be locked down for exclusive use by a given thread?
what is the difference between Cpp And Java
Can anonymous class have constructor?
How do you sort a string in alphabetical order in java?
What is multithreading and its advantages?
How do you reverse a string in java?