Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I dont want to use serialzable in java is there any another
concept
so plz tell me

Answer Posted / niraj deshmukh

Java provides Serialzable Interface to persist the object
state in distributed enviroment (if wanted to transfer the
over wire).

for e.g :
class persist implements Serializable {
// object's state needs to persist
private String state;
.
.
}

There is another way to achieve this behavior using
"Externalizable" interface. By implementing this, developer
can customized the serializable process.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to persist data of objects for later use. What is the best approach to do so?

1000


How many functional interfaces does java 8 have?

975


What is entry in java?

968


What is final?

1003


What are the topics in core java?

1001


What is the main purpose of java?

1014


what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

2193


Can we extend a class with private constructor?

934


What is jagged array in java?

1007


Difference difference paint() and paintcomponent()?

944


What do you mean by ordered and sorted in collections in java?

943


What is basic syntax?

976


What is a numeric literal?

995


What are different types of states exist for a thread?

961


What is scanner in java?

906