Log In Register

Units


Locale & Random Classes - Questions and Answers

 

Practice these Locale & Random Classes under Java Programming walk-in interview Questions/ examination questions with best tricks and short cuts with solution. Student (candidate) who want to crack the walk in interview, competitive exams and want to find short cuts and tricks to solve questions on Locale & Random Classes for following purpose.


– Anyone who is wishing to increase their perfect knowledge of Locale & Random Classes of Java Programming.
– Anyone who is preparing for aptitude test and increase his in depth aptitude knowledge Java Programming specifically Locale & Random Classes.
– Anyone who is preparing for interviews (competitive examinations, govt examinations and bank examinations, off-campus or on campus interviews, walk-in interview and company interviews) having questions on Locale & Random Classes under Java Programming.

– Anyone who is preparing for aptitude test or competitive exam or entrance exam.
– Anyone who is preparing for entrance examinations and other competitive examinations.
– All Experienced, Freshers and Students.

Here is list of Questions and Answers covering all key area of  Locale & Random Classes topic of Java Programming:

 

1. Which of these method of Locale class can be used to obtain country of operation?

Answer: Option D

Explanation:

2. Which of these methods is not a Locale class?

Answer: Option C

Explanation:
INDIA is not a Locale class.

3. Which of these class can generate pseudorandom numbers?

Answer: Option C

Explanation:

4. Which of these exceptions is thrown by remover() method?

Answer: Option D

Explanation:

5. Which of these class produce objects with respect to geographical locations?

Answer: Option B

Explanation:
 The Locale class isinstantiated to produce objects that each describe a geographical or cultural region.

6. Which of these is a method can generate a boolean output?

Answer: Option D

Explanation: