What is Marker interface in java? and what is clone?
Answer Posted / sai
Marker Interface is a interface which does not have methods
and also one more point is that it makes the method to
execute compulsory.Example Runnable Interface we call it as
a Marker Interface but as per the First Point it should not
be a Marker Interface but it contains a run() and when u r
extending the Thread Class it is making u to execute run()
Indirectly.
So my dear friends when u r argue abt some topic plz be
clear with it and then argue.
| Is This Answer Correct ? | 16 Yes | 32 No |
Post New Answer View All Answers
Differece between class and generic class?
You're given a Boolean 2D matrix, can you find the number of islands?
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 do you understand by an io stream?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
Difference between this() and super() in java ?
Explain restrictions on using enum?
Does apple use java?
What is java util function?
Explain different forms of polymorphism?
What is the difference between Grid and Gridbaglayout?
Which list does not allow duplicates in java?
What language is an assembler written in?
What is the final class?
explain copyonwritearraylist and when do we use copyonwritearraylist?