how you will prevent method overriding?

Answer Posted / murali.25

you also prevent overriding by making the method static

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is hash in java?

601


What is the default size of load factor in hashing based collection?

663


What is jit compiler ?

661


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

723


What is the difference between notify and notifyall method?

711






Why is java not 100% pure oops?

714


What are desktop procedures?

661


How to make a non daemon thread as daemon?

654


What is difference between filereader and bufferedreader?

608


Is zero a natural number?

663


How to sort an unsorted array in java?

723


Is java se open source?

660


Why for each loop is used?

607


What is difference between protected and private?

631


Name some classes present in java.util.regex package.

693