what is the logic inside any default constuctor?

Answer Posted / meena

The default constructor initializes all the variables
declared inside the program to default values.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

602


What is the properties class in java programming?

553


What are constants?

603


What is object of class in java?

601


Can this keyword be used to refer static members?

551






Can abstract class have private constructor?

500


Describe different states of a thread.

580


what is the purpose of "virtual"?

572


What is java ceil?

574


what is thread? : Java thread

561


How to print an arraylist in java?

504


What does null mean in java?

633


What is the purpose of the runtime class in java programming?

570


How many inner classes can a class have?

584


What is the use of join method?

581