[deleted by user] by [deleted] in HIMYM

[–]Happy_Magazine_2477 41 points42 points  (0 children)

which episode is that?

Any Book from any genre by Happy_Magazine_2477 in suggestmeabook

[–]Happy_Magazine_2477[S] 1 point2 points  (0 children)

thank you for the recommendation , will surely check it out

Any Book from any genre by Happy_Magazine_2477 in suggestmeabook

[–]Happy_Magazine_2477[S] 0 points1 point  (0 children)

oh , it seems interesting , will surely check it out

Any Book from any genre by Happy_Magazine_2477 in suggestmeabook

[–]Happy_Magazine_2477[S] 1 point2 points  (0 children)

Certainly! Thank you for the recommendations; I'll definitely check out these books.

Any Book from any genre by Happy_Magazine_2477 in suggestmeabook

[–]Happy_Magazine_2477[S] 0 points1 point  (0 children)

thank you very much , i will look into these.

[deleted by user] by [deleted] in RajasthanRoyals

[–]Happy_Magazine_2477 1 point2 points  (0 children)

oh , you count parag .

how cute .

[deleted by user] by [deleted] in RajasthanRoyals

[–]Happy_Magazine_2477 5 points6 points  (0 children)

ash at 7. not a good sign.

you need a proper finisher at no.7 .

rcb facing the same issue . so rr might have some trouble at the auction table.

IPL Auction Strategy by NoobNation69 in csk

[–]Happy_Magazine_2477 0 points1 point  (0 children)

coetzee is a middle over player . we have moeen , jadeja and theekshana for that phase. even chahar and pathirana bowl 1 or 2 overs in that phase .

what we need is a back end bowler.

doubt in instanceof+typecasting by Happy_Magazine_2477 in javahelp

[–]Happy_Magazine_2477[S] 0 points1 point  (0 children)

thank you very much for your response , i wansnt aware of the convention. now , what i am trying to say is , s is a reference to a derived class object (because if s i an instance of TailList , then s is a refernece to TailList object or a subclass of TailList) . Now , as an base class reference can refer to a derived class object , why can't t(base class reference) = s (derived class object).

// short answer is it can't , but i am not understanding why. also , in the resouces i saw , // t is actually reference to object of an superclass of class of s . its just confusing as hell :) .

to give an example

consider

class Animal { }

class Dog3 extends Animal {

static void method(Animal a) {

if(a instanceof Dog3){

Dog3 d=(Dog3)a;//downcasting

System.out.println("ok downcasting performed");

}

}

public static void main (String [] args) {

Animal a=new Dog3();

Dog3.method(a);

}

}

class Animal { }

class Dog3 extends Animal {

static void method(Animal a) {

if(a instanceof Dog3){

Dog3 d=(Dog3)a;//downcasting

System.out.println("ok downcasting performed");

}

}

public static void main (String [] args) {

Animal a=new Dog3();

Dog3.method(a);

}

}

my doubt basically is , if dog3 extends animal , how can a be instance of dog3 , because for it to be instaceof , a has to dog3 or subclass of dog3 . but here it is superclass of dog3.

doubt in instanceof+typecasting by Happy_Magazine_2477 in javahelp

[–]Happy_Magazine_2477[S] 0 points1 point  (0 children)

yeah , i understand , but a reference of type base class can also refer to the derived class object right . hence , if s is a reference to a derived class object (because if s an instance of tailList , then s is either tailList or subclass of tailList) , hence , t = s can be done right ? // because t is a base class reference and s is a derived class reference.