Can we declare variables inside a method as Final Variables?
Answer Posted / ravikiran(aptech mumbai)
yes we can declare.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is an array in java?
Are arrays passed by reference in java?
Discuss 2D arrays.
What is the concatenation operator in java?
Distinguish between a predicate and a function?
How does arraylist size increase in java?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What is the basic difference between string and stringbuffer object?
What are the two basic ways in which classes that can be run as threads may be defined?
What are the 4 versions of java?
Explain the difference between map and flatmap stream operation?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What is the range of the short type?
Explain about join() method?
What is arrays aslist in java?