Which two demonstrate an "is a" relationship?(Choose Two)
A. public interface Person{}
public class Employee extends Person{}
B. public interface Shape{}
public cl .. << 詳全文 >>
class A{
int x=1;
int y=2;
int f(){return x;}
static char sf(){return 'A'}
}
class B extends A{
int x=3;
int z=4;
int f(){return x;}
static char sf(){ret .. << 詳全文 >>
class InnerSuper{protected int x=1;}
class OuterSuper{protected int y=2;}
interface ForPolymor{void f();}
class Test extends OuterSuper{
private int z=3;
public ForPolymor g .. << 詳全文 >>