Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what are the java API classes that implement serializable interface?

 
aslika bahini
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi,

Can any of you please let me know the Java API classes that implement serializable interface.

Thanks in advance
Saritha


[ September 20, 2008: Message edited by: saritha babu ]
 
Mihai Fonoage
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

A good way of finding this out is from the javadocs page of the Serializable interface, by switching from the Class view to the Use view (at the top of the page, select the "Use" option).

Mihai
 
Leonid Shchervinsky
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> Object is not Serializable.
> Any subclass of Serializable class is Serializable.
>
The collection interfaces are not serializable, the concrete collection classes in the Java API are.
K&B 5 pg 456.

[ September 20, 2008: Message edited by: Leonid Shchervinsky ]
[ September 21, 2008: Message edited by: Leonid Shchervinsky ]
 
aslika bahini
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
saritha babu, why are you using quote tags to post your replies? Quote tags should be used to quote other people's replies, not your own.
 
Leonid Shchervinsky
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am quoting the book. Is there a better way?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15494
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Leonid Shchervinsky:
I am quoting the book. Is there a better way?

In the screen where you entry your reply, you see a number of buttons at the bottom. One of those is the button. It adds quote tags to the text you enter. Put the text you want to quote between the tags.
[ September 21, 2008: Message edited by: Jesper Young ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic