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

Can we inherit a class with private constructor?

785


What is the difference between class & structure?

777


What is functional interface in java example?

758


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

2090


What are java annotations?

825


What are the different types of java?

748


Can a constructor have different name than a class name in java?

814


Explain 5 features introduced in jdk 1.7?

797


What 5 doubled?

725


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1568


What is the different between get and post?

705


What are different data types?

756


what invokes a threads run() method? : Java thread

755


What is the concatenation operator in java?

805


How large is a boolean?

756