Is it possible to write static method in abstract class?
justyfy your answer?
Answer Posted / krishna
Yes it is possible to write the Static Method in abstract
class, why because every static method loads when the class
is executed all the static members of a class is executed.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do you call a reference in java?
What is a parameter in matrices?
Do we have pointers in java?
When should a function throw an exception?
What is the use of 'super' keyword inside a constructor?
What do you understand by final value?
What are disadvantages of java?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What are user defined exceptions?
Why string is immutable with example?
how is final different from finally and finalize in java?
What is hashset in java?
How do you find the absolute value?
Is array size fixed in java?
Why is stringbuffer thread safe?