+ 4
Is there no concept of copy constructor in java?
How do I make an object with variables having values same as that of an already created object in java?
1 Antwort
+ 4
public class Concept{
private String trueConcept;
public Concept(Concept concept){
this.trueConcept = concept.trueConcept
}
}