Can we override static methods?

Answer Posted / n.suresh babu

Yes, Static Methods can be overridden but it won't give
overridden behaviour. Overiding execution happens based on
the runtime object.

Is This Answer Correct ?    16 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we make a class virtual?

644


how would you implement a thread pool? : Java thread

510


Difference between method overloading and overriding.

582


Is java call by reference?

534


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1004






What is the difference between JVM and JRE?

625


What is Applet Stub Interface ?

1970


What is balanced tree in java?

536


What is the declaration statement?

517


What is the difference between a vector & an array list?

677


Is java still necessary?

622


What do you mean by static variable?

579


Explain about object oriented programming and its features?

599


What is the use of keywords in java?

555


What is Major and importance difference between for and foreach loop ?

578