Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the characteristics of java?

990


Can we declare array without size in java?

968


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

977


What is identifier give example?

983


Differentiate between a constructor and a method? Can we mark constructors final?

1145


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1153


What do you mean by ternary operator in java?

968


Is boolean a wrapper class in java?

1011


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 subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

1760


Explain the difference between extends thread vs implements runnable in java?

1072


What is a conditional equation?

978


What is immutable in java?

1017


What restrictions are placed on method overriding?

1113


What is the size of an array?

976


What super () does in java?

871