class A
{
protected int method1(int a, int b)
{
return 0;
}
}
class B extends A
{
//public int method1(int a, int b) { return 0; } //ok
//public short method1(int a, int b) { return 0; } //error
//static protected int method1(int a, int b) { return 0; } //error
//private int method1(int a, long b) { return 0; } //ok
//private int method1(int a, int b) {return 0;} //error
}