GP
Size: a a a
D
GP
GP
D
D
AO
AS
AS
IZ
public abstract class Role {
byte id;
String prefixS;
private Role() {
}
public Role(byte id, String prefixS) {
this.id = id;
this.prefixS = prefixS;
}
}
sealed abstract class RoleScala(val byte: Byte, override val prefixS: String) extends Role(byte, prefixS)
overriding variable prefixS in class Role of type String;
[error] value prefixS has incompatible type
[error] sealed abstract class RoleScala(val byte: Byte, override val prefixS: String) extends Role(byte, prefixS)
Oℕ
IZ
Oℕ
def prefix = prefixS
Oℕ
Oℕ
sealed abstract class RoleScala(val byte: Byte, rolePrefix: String) extends Role(byte, rolePrefix){
def prefix = prefixS
}
IZ
Oℕ
IZ
☭S
TG