Search:

Type: Posts; User: mayankpant

Search: Search took 0.07 seconds.

  1. Re: why i m not getting run time exception , though i supposed to get exception "Not serializable exception"

    ok..i got it...if i call e.printStackTrace() , i get that exception with output

    --- Update ---

    A runtime exception because i have not serialized collar,though dog was serialized.

    ---...
  2. Re: why i m not getting run time exception , though i supposed to get exception "Not serializable exception"

    i supposed to get an run time exception because my collar obect is not serialized, where as java says that u must get an runtime exception
  3. why i m not getting run time exception , though i supposed to get exception "Not serializable exception"

    import java.io.*;

    class Dog implements Serializable
    {

    Collar col;
    int dogSize;

    Dog(Collar c,int s)
    {
Results 1 to 3 of 3