Write one single line statement to generate random whole number in the range from 1 to 6.
Share
Write one single line statement to generate random whole number in the range from 1 to 6.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
Answer:
Java Random number between 1 and 10