What is Marker interface in java? and what is clone?
Answer Posted / srinivas
the interface doesn't have any methods called marker interface
But due to implement that interface the object contain some capability.
EX: Clonable
Cloning means we can create exatly duplicate object
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the characteristics of java?
Can we declare array without size in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What is identifier give example?
Differentiate between a constructor and a method? Can we mark constructors final?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What do you mean by ternary operator in java?
Is boolean a wrapper class in java?
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
Explain the difference between extends thread vs implements runnable in java?
What is a conditional equation?
What is immutable in java?
What restrictions are placed on method overriding?
What is the size of an array?
What super () does in java?