Can we declare variables inside a method as Final Variables?
Answer Posted / therathna
write a small program and check ur system
we can use final variable method
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What is the primary benefit of encapsulation?
What is runtime polymorphism or dynamic method dispatch?
Can private members of a base class are inheritable justify?
What is a java list?
What is meant by inheritance and what are its advantages?
What is an immutable object? How do you create one in java?
What is meant by method overriding?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
What are the different conditional statements?
how to write a program for sending mails between client and server
Can a source file contain more than one class declaration?
What are the legal parameters?
What modifiers may be used with a top-level class?
Can we assign the reference to this variable?
What is stack class in java?