What is constructor and virtual function?

Answer Posted / niranjanravi

Constructor is a special kind of method used to initialize
an object.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can list be null in java?

568


what state does a thread enter when it terminates its processing? : Java thread

590


How many types of java are there?

545


Is hashset ordered java?

576


How are variables stored?

525






Explain the use of shift operator in java. Can you give some examples?

531


Why is logger singleton?

555


What is the difference between Error, defect,fault, failure and mistake?

650


Explain about static nested classes in java?

602


How do you change an int to a string?

541


What exactly is a .class file?

567


What is regex java?

552


What exactly is methodology?

474


Which one will take more memory: an int or integer?

762


Why we use set in java?

505