what is singleton in java?
No Answer is Posted For this Question
Be the First to Post Answer
why abstract class does not have object creation
What is method reference in java?
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
Static Variable can referred in non-static method?
If a method is declared as protected, where may the method be accessed?
Can we declare a constructor as final?
Why we cannot override static method?
Why does my function print none?
Does a class inherit the constructor of its super class?if it does, how can you hide that constructor? if it doesnot how can you call it from the sub class?
What is flag in python?
How many bytes is a unicode character?
class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....