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...


If there is no implementation of MARKER INTERFACE in java.
Then how compiler come to know about specification.

Answers were Sorted based on User's Feedback



If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about sp..

Answer / kamlesh yadav

Implementing a java Class with the help of Marker Interface
will inform compiler about specification.

Is This Answer Correct ?    6 Yes 2 No

If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about sp..

Answer / vijayakumar chinnasamy

Every marker interface has some specific functionality and
no methods in that interface.

Ex:
Searializable - Persistent purpose
Clonnable - for cloning the object
SingleThreadedModel - only one object can be create.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What does the “static” keyword mean?

0 Answers  


Can a constructor call another constructor?

0 Answers  


What is means by DLL file means ? What is the use of DLL file? What are the contents of DLL file?

4 Answers  


What does a boolean method return?

0 Answers  


Explain restrictions on using enum?

0 Answers  


There is a Banking application. It has 2 types of account, Savings and Current. Write a method calculateInterest by passing an ArrayList of these account objects and calculate Interest accordingly. Write code for this situation

1 Answers   ABC, KPIT,


What is stack explain?

0 Answers  


What is the numeric promotion?

0 Answers  


What is Vector?Can you elaborate how Vector is Thread safe?

3 Answers   HCL,


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

0 Answers  


Can multiple catch statements be used in exceptions ?

6 Answers   Wipro,


What are basic data types?

0 Answers  


Categories