What is constructor and virtual function?

Answer Posted / rohit saini

Contructor is the special type of method which is used
initialize the data member the class

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a break statement and a continue statement?

598


why java uses class level type casting ?

2253


Is a char always 1 byte?

509


How can an object be unreferenced?

543


What is java and their uses?

548






What is static class

618


What does math floor () do?

555


What is re-factoring in software?

576


What is maximum size of arraylist in java?

495


What is a lambda expression ? What's its use ?

565


What is native code?

537


What isan abstract class and when do you use it?

847


From the two, which would be easier to write: synchronization code for ten threads or two threads?

615


What is canonical name in java?

622


What is array length in java?

526