How many methods does cloneable interface contains?

Answers were Sorted based on User's Feedback



How many methods does cloneable interface contains?..

Answer / janet

It is not having any method because it is a TAGGED OR
MARKER interface.

Is This Answer Correct ?    13 Yes 2 No

How many methods does cloneable interface contains?..

Answer / ravikiran(aptech mumbai)

no methods

Is This Answer Correct ?    8 Yes 2 No

How many methods does cloneable interface contains?..

Answer / dhinesz

What about clone() method?. Whether it is defined by
Cloneable Interface?Please clarify this as marker interface
means doesn't have any methods right?

Is This Answer Correct ?    1 Yes 1 No

How many methods does cloneable interface contains?..

Answer / krunal

A top-level class may be public, abstract, or final.

Is This Answer Correct ?    1 Yes 1 No

How many methods does cloneable interface contains?..

Answer / mahesh

There is no methods in Clonable Interface.

Is This Answer Correct ?    0 Yes 0 No

How many methods does cloneable interface contains?..

Answer / ram

@Dhinesz :

First of all, a marker interface is an interface by implementing that interface the class will get special behaviour. And it doesn't mean that, marker interface always not have any methods. Ex: Runnable interface is a marker interface and it has run().

Clone() method is a part of Object class, and if you implement cloneable interface for your class, it will force you to override the clone().

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is the difference between processes and threads?

1 Answers  


Write a program to print fibonacci series up to count 10.

1 Answers  


What does it mean that strings are immutable?

1 Answers  


What will be the default values of all the elements of an array defined as an instance variable?

1 Answers  


Why Java doesn’t support multiple inheritance?

1 Answers  


suppose string s1="rajnish"; string s2="bhaskar"; then what will be happend ?

9 Answers   Fidelity,


What is multiple inheritance & can we implement it in java?

6 Answers   Satyam,


if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.

4 Answers   Wipro,


What is concurrent hashmap and its features?

1 Answers  


State the difference between strings and arrays.

1 Answers   Syntel, Visa,


what modifiers are used with top-level class?

2 Answers  


why operator overloading is removed in java?

1 Answers  


Categories