Answer Posted / sunil kumar
Cloneable is a marker interface present in java.lang package. If we want to copy the object then we are using clone method by implementing our class from Cloneable interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between equals() and == in java?
What are the methods to rectify ambiguities in the interfaces in JAVA?
What’s a deadlock?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What do the thread?class methods run() and start() do?
What are functions in java?
Which command from the jdk compiles a java program?
Can we override constructors?
What string is utf8?
What are the different types of collections in java?
Why do we need variables?
What is the use of join method?
What is the difference between a choice and a list?
Is it possible for a yielded thread to get chance for its execution again?
What is singleton class in ruby?