ObjectStreamField类的getType()方法 (ObjectStreamField Class getType() method)
getType() method is available in java.io package.
getType()方法在java.io包中可用。
getType() method is used to get the type of this ObjectStreamField field.
getType()方法用于获取此ObjectStreamField字段的类型。
getType() method is a non-static method, it is accessible with the class object only and if we try to access the method with the class name then we will get an error.
getType()方法是一个非静态方法,只能通过类对象访问,如果尝试使用类名称访问该方法,则会收到错误消息。
getType() method does not throw an exception at the time of returning type.
getType()方法在返回类型时不会引发异常。