Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
|
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2009, 10:36 AM
Registered User
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Serializing needs File object on Read, not on Write

Something has been bothering me. Why does Java allow to write serialized object to a file without a File object, but it requires a File object to read the serialized object back?

I refer to chapter 12, page 478 for the write method, and page 481 for the read method.

It really does not make any sense. Would the author comment on this?

Thanks
Joe
[email protected]





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read /write from MPP file using Asp.Net C# amitsrathore General .NET 1 October 25th, 2013 03:08 AM
Read and write excel file using VB6 sjlsysprg1 VB How-To 14 September 21st, 2011 01:21 PM
Serializing Object Graph - Assigning Object to Jag venkat.kl C# 0 August 28th, 2006 10:39 AM
How to Read,Write, & Save (File Processing) ck C++ Programming 2 April 18th, 2005 07:28 AM
read & write file C# minhpx General .NET 1 February 21st, 2005 04:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.