In Inheritence concept, i have a static method in super
class and i am inheriting that class to one sub class.in
that case the static method is inherited to sub class or
not????
Answer Posted / dhawal
first understand meaning of static keyword,when we use
static keyword before any data type or before method then
single copy of that method or variale crated in memory,and
use that copy for only that particular class,means as far my
knowledge we can not use static method in subclass.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is the dot operator?
what is predefined function in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is keyset in java?
What is the generic function?
Which is bigger float or double java?
Tell me the Importent classes in net package?
What is pojo class in java?
What is a finally block?
What is methods and methodology?
What is javac in java?
How do you convert an int to a string in java?
Which sorting algorithm is in place?
What defines function?
What is final modifier?