what are the types of constructer explain with example

Answer Posted / siri

there are three kinds parametrized,default and copy consturctor

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I swap two variables without using a third variable?

496


What is jdk jre and jvm?

512


What is optional in java 8? What is the use of optional?advantages of java 8 optional?

498


Why is javac not recognized?

499


Is openjdk the same as jdk?

501






How do I open my java console?

498


How do I run a java program from the command line?

447


What are the disadvantages of java sockets?

582


explain isalive() method under thread class?

581


What is difference between map and flatmap in java 8?

471


What is @resource annotation in java?

489


Are the actual permissions for the application defined at run-time or compile-time? : java security

547


What is native api in java?

492


What happens when you omit a brace or misspell one of the words, like public or

471


Is jvm a compiler or an interpreter?

529