If multiple class have method of same name then it will interfere eachother so the compiler has the difficulty of giving priority to the method. To overcome this problem Java dosen't support multiple inheritance. For multiple inheritance it uses interfaces
No,himani We can declare n define the functions in structures in OOP .. actually v cannot produce constructors n destructors for structures n v cannot apply the OOPS concepts in structurs..
In oops Static functions let u to invoke it with out any object of a class , instead u have to use the class name to invoke it... main() { class_name::static_fn_name(); } &nb...
bhoji_005
Oct 5th, 2007
If you write int i;then i contain garbage value.If you intilize with static int i;Then i contain 0 by default
Hi.., For this question ans A,B&C is absolutely correct . So if they given as all d above; v can select it but here the other option is NONE then v ll give the higher preference to NONE..