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 |
Why main() method is public, static and void in java ?
I want to print “hello” even before main is executed. How will you acheive that?
What are locale settings?
There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple Inheritance? please anybody help me.....
Difference between keyword and identifier.
what is AWT
What is the difference between notify and notifyall method?
what is the difference between pagecontext and servletcontext?
What is the latest java version?
What is the difference between java applets and applications?
State one difference between a template class and class template.
What is finalize()?