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
What is a buffer in java?
What is java jit compilers?
What is a final class ?
What is class forname?
What is a singleton puppy?
Write java program to reverse string without using api?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What is final, finally, finalize?
Can we assign integer value to char in java?
Difference between Linked list and Queue?
What is outofmemoryerror in java?
What are wrapped classes in java programming?
Name some OOPS Concepts in Java?
Why wait and notify methods are declared in object class?