hoe can u call a constructor of a private classs to other
inherited claa??



hoe can u call a constructor of a private classs to other inherited claa??..

Answer / ditendra

class can't be private if it is not a inner class .
we can call constructor of inherited class from private
inner class using super()method.

Is This Answer Correct ?    18 Yes 0 No

Post New Answer

More Core Java Interview Questions

How much is a java license?

0 Answers  


What are different types of access modifiers?

3 Answers  


What is the purpose of garbage collection in java? When is it used?

0 Answers  


How java uses the string and stringbuffer classes?

0 Answers  


What is javac_g?

0 Answers  






How many statements can be created with one connection in jdbc?

4 Answers   Polaris,


Name the packages in JDK?

2 Answers  


What is the format specifier?

0 Answers  


what is actual real time using of oops concepts in projects(Interface,polymorphism.abstraction.........)

2 Answers  


What is the full meaning of java?

0 Answers  


Explain garbage collection in java?

0 Answers  


What is the difference between variable & constant?

0 Answers  


Categories