Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

serilize filke in java

package com.mkyong;

import java.io.Serializable;

public class Person implements Serializable {

	private static final long serialVersionUID = 1L;
	private String name;
	private int age;
	private String gender;

	Person() {
	};

	Person(String name, int age, String gender) {
		this.name = name;
		this.age = age;
		this.gender = gender;
	}

	@Override
	public String toString() {
		return "Name:" + name + "
Age: " + age + "
Gender: " + gender;
	}
}
Comment

PREVIOUS NEXT
Code Example
Java :: spring environment null pointer exception 
Java :: find namestart with name using strim in java 
Java :: Deal with empty or blank cell in excel file using apache poi 
Java :: how to print a sentence out in a string of camel case java 
Java :: fibonancci using dynamic programming in java 
Java :: how to write 1,2,3,4.... in java 
Java :: EuclideanAlgorithm in Java 
Java :: java non blocking notifier 
Java :: how to array list with a delimiter into text file java 
Java :: hollow rectangle pattern in java 
Java :: Algorithms - decision 
Java :: issue wsdl call java example 
Java :: java object array initialization 
Java :: war file in java 
Java :: system program j 
Java :: java division int by 0 
Java :: correct lcd initialize 
Java :: Example of "this" : to invoke current class method 
Java :: cannot apply java lang integer android 
Java :: java runtime.getruntime().exec 
Java :: && java 
Java :: get last day of month java 
Java :: print treeset java 
Java :: how to set default color in android studio 
Java :: directory size java 
Java :: Vowel or consonant in java using if else 
Java :: how to convert integer to list in python 
Java :: java.lang.NoClassDefFoundError: net/sf/cb2xml/def/IItem 
Sql :: fatal error: libpq-fe.h: No such file or directory 
Sql :: oracle get table schema 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =