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 real-time example of runtime polymorphism and compile time polymorphism
Why hashmap is used in java?
What are integer overflows and underflows and how to handle them?
Which java collection does not allow null?
why ,we are using jsp and html.which one is better?
Compare Mutex and Semaphore in java.
which method is used to know the status of the Thread?
Explain pass by reference and pass by value?
Can we access a database using applets?
Question 6 [9] 6.1 In what situations (in general) would you use a TreeMap? (3) 6.2 In what situations (in general) would you use a HashSet to store a collection of values?
What is the purpose of using javap?
What is the history of java?