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 |
Can we convert integer to string in java?
How can we achieve thread safety in java?
Explain about OOPS concepts and fundamentals.
in a constructor what happen if u call super and this in the same class? i know that it is not possible to call both in the same one? if we call what will happen?
Can java list contain duplicates?
How to convert String into primitive datatype.
How do you add an element to a set in java?
What is a protected void?
Can you call a private data from an inner class?
What are the different tags provided in jstl?
What 4 doubled?
What is the use of default method in interface in java? Explain