public static void main(String[] args) {
// TODO code application logic here
A a = new B();
a.callme();
}
}
class A
{
public void callme()
Type: Posts; User: Kungpaoshizi
public static void main(String[] args) {
// TODO code application logic here
A a = new B();
a.callme();
}
}
class A
{
public void callme()
I'm not even sure I'm breaking this down to myself correctly...
Given a class A and another (B) that inherits from it, if you have a method that casts B to A and invokes a method x() that both A and...
Hi there, I'm preparing for an interview with a company, and I came across this question earlier and was wondering peoples' thoughts on it.
I have a fairly solid programming background, but not so...