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 final
B private
C public
D static
E protected
F All the enlisted ones.
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
