Question: The variables ( primitive or reference - object type ) declared inside any method or method - header or any nested block inside a method
The variables primitive or referenceobject type declared inside any method or methodheader or any nested block inside a method are known as local variables. Which of the following modifiers can be used for local variables?
A static
B protected
C final
D All the enlisted ones.
E public
F private
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
