class A{ void me(){s.o.p("");} class B extends A{ void me()
{s.o.p(" ");} class M{ A a=new B(); B b=new A(); a.me();
b.mne();} what is the output of this, how?
Answer Posted / sk
B b=new A();
you cannot assign a superclass object to a reference of
subclass.
| Is This Answer Correct ? | 21 Yes | 4 No |
Post New Answer View All Answers
what is the filters in biztakk server? where it can use?
V2 SOLUTIONS APTI paper is very easy there are 3 sections 1'st is quant problem on age train traveling speed is given length of train is given we have to find out length of bridge then prob on calender one date is given on Friday hv to find out day of othe date ans is Friday then there was 1 prob on percentage which was very easy ans was 21340 then 2’nd section was english grammer had has been being like that hv to fill in the blanks was very wasy then last section was find relative words there was five Q 1 pant ANS:-breath 2inquire ans :- ask And 3 more out of that 1 ‘s ans was:- body 4 And others ans was :-through THEN THEY HAVE GD There was three topics 1 should we allow india’s talent to go to abrod 2 protest against seperate state is justify 3 inturuption of politics in cricket Thats all guys i cleared both the rounds now preparing 4 interview best of luck
when will triggars the at new event in abap and web dybn pro?
How to set fixed width in particular
what is the extension of SPDS Dynamic cluster tables?
Is the IT field raise again? What is the position of IT after 4 years?
what are all the ant command options
how will you code the subfile which is in editing mode (multiple case subfile)?
Given: coordinates of rectangle-> left bottom and right top points. the rectangles create a hole.Find the maximum area of the hole. eg. 4 rectangles create a hole in between. find its area.
Please describe an example where you used object orientation in one of your programs.
can any one suggestion me present which course(except java,.net) has huge demand in the market?
how do we provide security for web services
any drawback are there in mantis?
in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?
how many types of bytes are there???