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 to run ecllipse with jettyserver for windows environment using batch file

0 Answers  


How can an object be unreferenced?

0 Answers  


What are thread local variables?

0 Answers  


What method is used to know the status of Checkbox(i.e it is checked or unchecked)?

1 Answers  


What is string in java is it a data type?

0 Answers  






How do you implement polymorphism in our day to day life?

0 Answers   Cap Gemini,


What are the different types of constructor?

0 Answers  


Difference between string, string builder, and string buffer?

0 Answers  


How list contains works in java?

0 Answers  


What is the advantage of OOP in java?

0 Answers  


What is I/O Filter?

2 Answers   TCS, WAX,


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

0 Answers  


Categories