top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is the default value of the local variables in java?

0 votes
34 views
What is the default value of the local variables in java?
posted May 18, 2018 by Frank Lee

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The local variables are not initialized to any default values. We should not use local variables with out initialization. Even the java compiler throws error.

answer May 20, 2018 by Chahat Sharma
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...