What is the blank final variable?
Answers were Sorted based on User's Feedback
Answer / radhi
a variable with final keyword is called as blank final
variable....
eg. final int i=7;
we cant change the final variable....
there is no use ..if we can make a variabe as final....
Is This Answer Correct ? | 7 Yes | 4 No |
Answer / pratima
final int i;
You will get compile time error:The blank final field i may not have been initialized
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sani
when we declare a variable as final is blank final its value
will not change.
Is This Answer Correct ? | 1 Yes | 4 No |
what is webservices
5 Answers Consultancy, Mind Tree,
what is meant by encapsulation?
What is an exception in java?
What are the 3 types of loops in java?
Can we override tostring method in java?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What is package protected in java?
Why does java doesnt suuport unsigned values?
State the main difference between c++ and java?
What is command line argument
Explain the available thread states in a high-level?
What is a consumer in java?