Mridula Sharma - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
Mridula Sharma Cover image
Mridula Sharma
Mridula Sharma
Connections 55
Followers 55
Following 146
study24x7Mridula Sharma

Mridula Sharma

Live in West Delhi,India, Delhi
  • Profile
  • About
  • Connections
About

Don't stop believing in yourself No matter what happens.

  • Lives in West Delhi, Delhi
25 May 2020 05:50 PM study24x7 study24x7

What will be the output of the following Java code?

1. int arr[] = new int [5];
2. System.out.print(arr);

A

value stored in arr[0].

B

0

C

00000

D

Garbage value

study24x7
Write a comment