Here you can find the source of writeObject(Object o, ObjectOutput dos)
public static void writeObject(Object o, ObjectOutput dos) throws IOException
//package com.java2s; /*/*w w w.ja va 2 s .c o m*/ * Copyright (c) 1998 - 2005 Versant Corporation * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Versant Corporation - initial API and implementation */ import java.io.*; public class Main { public static void writeObject(Object o, ObjectOutput dos) throws IOException { dos.writeObject(o); } }