what is private constructor?what are the uses of writing
private constructor in our program?

Answer Posted / gopalramana

no other class does not create instance of this class,we go
private constructor

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is append in java?

625


What are different types of constants?

514


whatis Home interface and Remoteinterface? with example?

1544


How we can skip finally block of exception even if some exception occurs in the exception block in java?

516


Name some OOPS Concepts in Java?

636






How can a gui component handle its own events in java programming?

525


What are the 8 primitive data types in java?

546


What are multiple inheritances?

577


List implementations of list interface?

557


What is nullpointerexception?

552


How much ram can a 64 bit processor theoretically?

463


What is toarray method in java?

554


What is jee6?

532


What is the relationship between class and object?

524


What do you mean by light weight and heavy weight components?

549