what is finalmethod & final variable with example?
Answer Posted / vignesh,c
in a class if a method is executed at final stage is called
a final method, and and a variable when used finally is
called a final variable.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is java command?
What is jit compiler in java?
What are the three parts of a lambda expression?
Explain java coding standards for interfaces?
What is generic class?
How do you reverse a string in java without using string buffer?
explain the difference between jdk and jvm?
Explain the available thread states in a high-level?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What are the differences between this and super keyword?
What is scope & storage allocation of static, local and register variables? Explain with an example.
How do you square a number in java?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What are the methods available in a class?
How many bits is a double?