Programming - Inheritance - Discussion
You Are Here :: Home > JAVA > Inheritance -
Discussion
|
Q. |
Can we declare variable inside a method as final variables? Why?
|
A. |
Cannot because, local variable cannot be declared as final variables. |
B.
|
Cannot because, global variable cannot be declared as final variables.
|
C.
|
Cannot because, local variable cannot be declared as static variables.
|
D.
|
Cannot because, global variable cannot be declared as static variables.
|
|
Answer: |
Option
A |
Explaination: |
No Explanation
|
Discussion
Your Comments Goes here... |