当前位置: X题卡 > 所有题目 > 题目详情

Object类中的方法public int hashCode( ),在其子类中覆盖该方法时,其方法修饰符可以是______。

查看本题答案

你可能感兴趣的试题

public final int writeObject(Object obj) throws IOException  public final void writeObject(Object obj) throws IOException  public Object writeObject(Object obj) throws IOException  public final Object writeObject(Object obj) throws IOException  
int addValue(int a, int b)//do something...  public void addValue() //do something...  public int addValue(int a, int b)throws MyException //do something...  public float addValue(int a, int b, float b=1.0)//do something...  
public final int writeObject(Object ob throws IOException  public final void writeObject(Object ob throws IOException  public Object writeObject(Object ob throws IOException  public final Object writeObject(Object ob throws IOException  
Object类  Manager类  Employee类  Class类  
int addValue(int a,intb)∥do something…  public void addValue( )∥do something…  public int addValue(int a,intb)throws MyException∥do something…  public float addValue(int a,int b,float b=1.0)∥do something…  
Object类  Manager类  Employee类  Class类  
public final int writeObject(Object obj) throws IOException  public final void writeObject(Object obj) throws IOExcepfion  public Object writeObject(Object obj) throws IOExcepfion  public final Object writeObject(Object obj) throws IOException  
public final int writeObject(Object ob throws IOException  public final void writeObject(Object ob throws IOExcepfion  public Object writeObject(Object ob throws IOExcepfion  public final Object writeObject(Object ob throws IOException  
int addValue (int a,int {//do somethin..}  public void addValue() {//do somethin..}  public int addValue (int a,int throws MyException {//do somethin..}  public float addValue (int a,int b,float b=1.0) {//do sometin..}  
int addValue(int a,int {∥do something…}  public void addValue( ){∥do something…}  public int addValue(int a,int throws MyException{∥do something…}  public float addValue(int a,int b,float b=1.0){∥do something…}  

热门试题

更多