Answer Posted / 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 |
Post New Answer View All Answers
Explain constructors and types of constructors in java.
What is serial version uid and its importance in java?
What is classes in java?
What is meant by inheritance and what are its advantages?
What are the advantages of exception handling?
What comes to mind when someone mentions a shallow copy in java?
How can you read content from file in java?
What are the differences between path and classpath variables?
Write a method that will remove given character from the string?
When is the arraystoreexception thrown?
What is parsing a string?
Is integer passed by reference in java?
Explain the difference between an Interface and an Abstract class?
Can keyword be used as identifier?
What is mean by collections in java?