Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which class contains clone method? Cloneable or Object?
Home
JAVA
Which class contains clone method? Cloneable or Object?
+1
vote
asked
Jan 24, 2020
in
JAVA
by
rahuljain1
Which class contains clone method? Cloneable or Object?
#java-clone
#clone-method
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 24, 2020
by
SakshiSharma
java.lang.Cloneable is marker interface and doesn't contain any method clone method is defined in the object class. It is also knowing that clone() is a native method means it's implemented in C or C++ or any other native language.
Related questions
0
votes
Q: Which class contains the clone method? Cloneable or Object?
asked
Oct 17, 2020
in
JAVA
by
rahuljain1
#clone-method
#clone-method-java
#java-clone-method
#clonable-object-java
Java-questions-answers
0
votes
Q: Which method of the Class.class is used to determine the name of a class represented by the class object as a String?
asked
Apr 8, 2021
in
JAVA
by
SakshiSharma
java
java-questions-and-answers
java-mcq
core-java-mcq
java-multiple-choice-questions
java-questions-2021
java-interview-questions
java-advanced-questions
Java-questions-answers
0
votes
Q: What is the return type of the hashCode() method in the Object class?
asked
Apr 8, 2021
in
JAVA
by
SakshiSharma
java
java-questions-and-answers
java-mcq
core-java-mcq
java-multiple-choice-questions
java-questions-2021
java-interview-questions
java-advanced-questions
Java-questions-answers
0
votes
Q: What are the advantages of passing this into a method instead of the current class object itself?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#argument-pass
#
object-class
Java-questions-answers
0
votes
Q: Out of these methods of the Object class, which one can clone an object?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
object-class
java
method
+1
vote
Q: Can we create an Immutable object, which contains a mutable object?
asked
Jan 24, 2020
in
JAVA
by
rahuljain1
#java-immutable
Java-questions-answers
0
votes
Q: Which package contains the Random class?
asked
Apr 8, 2021
in
JAVA
by
SakshiSharma
java
java-questions-and-answers
java-mcq
core-java-mcq
java-multiple-choice-questions
java-questions-2021
java-interview-questions
java-advanced-questions
Java-questions-answers
0
votes
Q: Which of the given methods are of Object class?
asked
Apr 9, 2021
in
JAVA
by
Robindeniel
java
java-questions-and-answers
java-mcq
core-java-mcq
java-multiple-choice-questions
java-questions-2021
java-interview-questions
java-advanced-questions
Java-questions-answers
0
votes
Q: Which of the following method asserts that both the objects refer to the same object?
asked
Feb 12, 2020
in
JAVA
by
rahuljain1
#junit-assert
Java-questions-answers
0
votes
Q: Which of the following is a static method offered by MockMvcRequestBuilders class.
asked
Feb 13, 2020
in
JAVA
by
rahuljain1
#mockmvcrequestbuilders
Java-questions-answers
...