Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

what are the java API classes that implement serializable interface?

 
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 ]
 
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
 
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

 
Marshal
Posts: 67463
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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?
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • 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 ]
 
brevity is the soul of wit - shakepeare. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic