Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6107793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:13:37+00:00 2026-05-23T14:13:37+00:00

I’ve already seen this: How to test in java that a class implements serializable

  • 0

I’ve already seen this: How to test in java that a class implements serializable correctly

I just have a more general question. If you create an object (say a circle) like this (assume imports are there):

class Circle implements Serializable {
     int radius;
     Circle(int radius){
         this.radius = radius;
     }

     public void updateRadius(int radius){
         this.radius = radius
     }

     public int getRadius(){
         return radius;
     }
}

Is that all that is needed for it to be serializable? Do I need to add more methods to it for it to be serialized properly? I have a class a lot more complex, but didn’t feel like posting all of it when this should provide ample example.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:13:37+00:00Added an answer on May 23, 2026 at 2:13 pm

    Very simple answer.

    Let’s say you live in a certain province of good ol Canada that requires all your business communication to be conducted in French.

    The name of your business is la chance. It performs debt-collection, spam-mail marketing and user tracking services.

    Your parent company is la connerie. Your company does not have the facility to conduct debt-collection, spam-mail marketing and user tracking services in French. Anyway, your parent company la connerie conducts all transactions for your company anyway and they have the facility to conduct debt-collection, spam-mail marketing and user tracking services in French. So your company is safe from being raided by the provincial government authorities – no worries.

    Actually la connerie does not have facilities to conduct debt-collection, spam-mail marketing and user tracking services in French because it is actually owned by a holding company du fumier. And du fumier has the facilities to conduct debt-collection, spam-mail marketing and user tracking services in French and does so for all its child entities.

    So every little business entity under the du fumier umbrella can safely declare that they IMPLEMENT French debt-collection, spam-mail marketing and user tracking services without needing each of themselves the facilities to conduct such French business communication, because they depend on du fumier to do it for them.

    One day, your company decided to acquire another company les merdes du chevre and their business is debt-collection. The company is newly set up and is actually an empty shell. but it is safe from the provincial French linguistic authorities because it can depend on your company to perform debt-collection in French. So les merdes du chevre can happily declare that they IMPLEMENT French debt-collection services without lifting a finger to do anything about it.

    The next week, your company acquires another company les crapes des crabes whose business is selling crabby by-products. However, they do not have the facilities to sell crabby by-products in French. And because of that you will have to create a dept to IMPLEMENT selling crabby by-products in French. And failing to do so, the provincial linguistic authorities would take the EXCEPTION of hauling your company to court for not IMPLEMENTING selling crabby by-products in French.

    But you can escape the prosecution/persecution by the linguistic authorities if you declare that les crapes des crabes is a TRANSIENT entity. You acquired it with intention of transferring it to british columbia and that you never had any intention to actively use that company to sell crabby by-products in the province.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have just tried to save a simple *.rtf file with some websites and
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have thousands of HTML files to process using Groovy/Java and I need to
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.