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 an object subclass another object?
How a class can implement an interface?
What is singleton class?
16 Answers 3i Infotech, 7 Seas, ABC, Amdocs, Cap Gemini, Oracle, Persistent, TCS, Techforza,
Is java still relevant?
What is the transient keyword?
Is 0 true or false?
What is a nested structure?
What if static is removed from main method?
What happens if an exception is not caught?
What are the names of interfaces that doesn't consists of method/s ?
What is the maximum size of arraylist in java?
how session will be expired?