What is meant by final class, methods and variables?

Answer Posted / suresh chand

final class: we can't inherit that class

final method: we can't override that method

final variable: we can't change the value of that var.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How static variable work in java?

601


How to sort array in descending order in java?

516


What is polymorphism in java? What are the kinds of polymorphism?

582


What is a method in java?

562


What are the java ide's? Explain

525






Can we synchronize static methods in java?

600


What environment variables do I need to set on my machine in order to be able to run java programs?

603


How are variables stored in memory?

579


What does math floor () do?

555


What are the two ways to create a thread?

536


What are the benefits of operations?

511


Why is the type for real numbers called double?

545


What is java oops?

558


What are the types of exceptions?

595


What are the advantages of packages in java?

571