Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
general knowledge
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
beans
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


What is the default value of a local variable in Java?
Question Posted on 26 Apr 2022

Home >> Java >> Java Quiz >> What is the default value of a local variable in Java?




What is the default value of a local variable in Java?
Choose the correct option from below list
(1)null
(2)0
(3)Depends upon the type of variable
(4)Not assigned

Answer:-(4)Not assigned
Note:-Local variables are not assigned any default value
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Which of the following is not a Java features?
Which package contains the Random class?
select option leads to the portability and security of Java?
Which method of the Class is used to determine the name of a class represented by the class object as a String?
Select tool is used to generate API documentation in HTML format from doc comments in source code?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |