Question
int arr[] = new int [5];
System.out.print(arr);
a.
0
b.
value stored in arr[0].
c.
00000
d.
Class name@ hashcode in hexadecimal form
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. What will this code print?
Similar Questions
Discover Related MCQs
Q. Which of these is an incorrect Statement?
View solution
Q. Which of these is necessary to specify at time of array initialization?
View solution
Q. Generics does not work with?
View solution
Q. How to sort an array?
View solution
Q. How to copy contents of array?
View solution
Q. Can you make an array volatile?
View solution
Q. Where is array stored in memory?
View solution
Q. An array elements are always stored in ________ memory locations?
View solution
Q. What is the range of short data type in Java?
View solution
Q. What is the range of byte data type in Java?
View solution
Q. An expression involving byte, int, and literal numbers is promoted to which of these?
View solution
Q. Which of these literals can be contained in float data type variable?
View solution
Q. Which data type value is returned by all transcendental math functions?
View solution
Q. How to format date from one form to another?
View solution
Q. How to convert Date object to String?
View solution
Q. How to convert a String to a Date object?
View solution
Q. Is SimpleDateFormat thread safe?
View solution
Q. How to identify if a timezone is eligible for DayLight Saving?
View solution
Q. What is the replacement of joda time library in java 8?
View solution
Q. How is Date stored in database?
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!