ObjectInputStream.GetField.get() | Java

 

Descripción

Sintaxis

public abstract boolean get(String name, boolean val) throws IOException
public abstract byte get(String name, byte val) throws IOException
public abstract char get(String name, char val) throws IOException
public abstract double get(String name, double val) throws IOException
public abstract float get(String name, float val) throws IOException
public abstract int get(String name, int val) throws IOException
public abstract long get(String name, long val) throws IOException
public abstract short get(String name, short val) throws IOException
public abstract Object get(String name, Object val) throws IOException

Parámetros

  • String name,
  • long val,
  • byte val,
  • boolean val,
  • Object val,
  • char val,
  • short val,
  • double val,
  • float val,
  • int val,

Excepciones

IllegalArgumentException, IOException

Clase Padre

ObjectInputStream.GetField

Ejemplo


Líneas de Código

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.