if all user defined constructor of a class made private,can
we create an object of that class?justify your answer with
an example.

Answer Posted / mashruk

Yes, we can create an object of that class, but, we cannot
extend it.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.

1388


What is the most important thing to know about marine engineering?

1628


Define configuration and calibration and explain with an example

1542


What do you mean by component versionig?

1447


difference between java programming and c programming??

2386






what is elligibility criteria of hcl?

1845


what is difference between shell commands and shell scripting commands or both r same?

1611


Why do windmills never appear stationary?

941


nohup sort employees > list 2 > error out & what will happen?

2912


what are the different types of database servers

1465


I want old SBI question papers plzzzzzzzzz

1491


what is different between static block and public static void main??

1339


what is disadvantages of waterfall model ?? industry used which model ??

1463


synchronous and asynchronous transmission

1480


difference between a for loop and a while loop? what are its uses in c language?

1550