你可能感兴趣的试题
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...
protected public private 缺省
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..}
protected public private 缺省
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…}