Question
a.
add()
b.
fill()
c.
all()
d.
set()
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of this method is used to make all elements of an equal to specified value?
Similar Questions
Discover Related MCQs
Q. Which of these method of Array class is used sort an array or its subset?
View solution
Q. Which of these methods can be used to search an element in a list?
View solution
Q. Which of these interface declares core method that all collections will have?
View solution
Q. Which of these interface handle sequences?
View solution
Q. Which of this interface must contain a unique element?
View solution
Q. Which of these is a Basic interface that all other interface inherits?
View solution
Q. Which of these is static variable defined in Collections?
View solution
Q. Which class is used to generate random number?
View solution
Q. Which method is used to generate boolean random values in java?
View solution
Q. What is the return type of Math.random() method?
View solution
Q. Random is a final class?
View solution
Q. What is the range of numbers returned by Math.random() method?
View solution
Q. How many bits are used for generating random numbers?
View solution
Q. What would be the output of following code snippet?
int a = random.nextInt(15) + 1;
View solution
Q. What would be the output of following code snippet?
int a = random.nextInt(7) + 4;
View solution
Q. Math.random() guarantees uniqueness?
View solution
Q. What is the signature of Math.random() method?
View solution
Q. Which of these class produce objects with respect to geographical locations?
View solution
Q. Which of these methods is not a Locale class?
View solution
Q. Which of these class can generate pseudorandom numbers?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!