. Define Copy Constructor in Java

Answer Posted / nashiinformaticssolutions

A Copy Constructor in Java is a constructor that initializes an object through another object of the same class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the difference between unit, integration and functional testing?

837


How do I convert a string to an int in java?

803


Which is the class in java?

755


What is finalize()?

887


What is 16 bits called?

720


Can a hashset contain duplicates java?

715


Write a java program to check if a number is prime or not?

775


Why use string handling in Java?

811


What is size () in java?

846


What is string intern in java?

794


What is the requirement of thread in java?

838


How many bytes is a string java?

769


Is null a value?

797


What is starvation?

949


What makes a function well defined?

782