Core Java With OCJP/SCJP: Serialization Part- 2||Serialazation in the case of object graphs

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 32

  • @ranveervaghela7030
    @ranveervaghela7030 2 หลายเดือนก่อน +3

    Completed watching on Sept 23, 2024 at around 6.41 PM :) :)

  • @kshitijbajracharya3424
    @kshitijbajracharya3424 5 ปีที่แล้ว +8

    Notes:
    1. 6:29 Serializing multiple objects
    2. 16:22 Serializing multiple objects with order unknown
    3. 32:51 Object Graphs in Serialization
    3.1 41:20 Note

  • @FlohrKastelka
    @FlohrKastelka 5 ปีที่แล้ว +2

    Excellent explanations!
    Simple and clear!

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  5 ปีที่แล้ว

      Hello Flohr Kastelka.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @AadityaKavthekar
    @AadityaKavthekar 4 ปีที่แล้ว +3

    Thank you so much, Durga Sir :)

  • @utsavmodh9698
    @utsavmodh9698 7 หลายเดือนก่อน +1

    Thank you sir ✨

  • @राजनगोंगल
    @राजनगोंगल ปีที่แล้ว +1

    👏👏👏👏👏👏🙏🙏🙏🙏🙏🙏👍👍👍👍👍👍

  • @EngineerVaibhav
    @EngineerVaibhav ปีที่แล้ว +1

    126 video completed❤🎉

  • @-AjayChauhan
    @-AjayChauhan 7 หลายเดือนก่อน +2

    Day 46 of #75daysofcode in Java
    16 April, 2024
    Completed this video

  • @sakshamgupta4227
    @sakshamgupta4227 4 ปีที่แล้ว +1

    Thank you sir

  • @prateekgupta7906
    @prateekgupta7906 6 ปีที่แล้ว

    Use this link for Part-1 serialization

  • @vyasabhattutharun2354
    @vyasabhattutharun2354 8 ปีที่แล้ว

    good morning sir... "Serialization Part- 1||Serialazation in the case of
    object graphs video" is missing please upload sir i'm waiting for your
    upload and THANK U SOMUCH FOR UPLOADING JAVA VIDEOS

    • @javacrackofficial
      @javacrackofficial 6 ปีที่แล้ว

      th-cam.com/video/JTdqJ1RC65M/w-d-xo.html

  • @simplymade7802
    @simplymade7802 6 ปีที่แล้ว

    Sir why uh have not closed ObjectOutputStream in this example? Is it not mandatory to close here?

  • @gavravdhongadi9824
    @gavravdhongadi9824 4 ปีที่แล้ว +1

    Supposedly if if are using while loo p how do we check the end of it, I mean what condition should be use.

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 ปีที่แล้ว

      Hello Gavrav.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

    • @rahulchowdhury4227
      @rahulchowdhury4227 4 ปีที่แล้ว

      while(o!=null){}

  • @ritikgupta8353
    @ritikgupta8353 4 ปีที่แล้ว +2

    Sir I am using while loop in order of objects in serialization and I am getting EOFException?? How to resolve this??

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 ปีที่แล้ว

      Hello Ritik.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

    • @ritikgupta8353
      @ritikgupta8353 4 ปีที่แล้ว

      I have resolved the problem sir and thanks for your complete core java lecture it helps me very much.And you are a great teacher thankyou sir

    • @abhiny8
      @abhiny8 3 ปีที่แล้ว

      @@ritikgupta8353 share code plz bro

    • @ritikgupta8353
      @ritikgupta8353 3 ปีที่แล้ว

      @@abhiny8 import java.io.Serializable;
      import java.io.EOFException;
      import java.io.FileInputStream;
      import java.io.ObjectInputStream;
      import java.io.FileOutputStream;
      import java.io.ObjectOutputStream;
      class Dog implements Serializable {
      int i = 10;
      }
      class Cat implements Serializable {
      int j = 20;
      }
      class Rat implements Serializable {
      int k = 30;
      }
      class SerializeDemo4 {
      public static void main(String[] args) throws Exception {
      Dog d1 = new Dog();
      Cat c1 = new Cat();
      Rat r1 = new Rat();
      FileOutputStream fos = new FileOutputStream("abc.ser");
      ObjectOutputStream oos = new ObjectOutputStream(fos);
      oos.writeObject(d1);
      oos.writeObject(c1);
      oos.writeObject(r1);
      System.out.println(d1.i + "..." + c1.j + "..." + r1.k);
      FileInputStream fis = new FileInputStream("abc.ser");
      ObjectInputStream ois = new ObjectInputStream(fis);
      Object[] o = ois.readObject();
      try {
      for (Object o1:o) {
      if (o1 instanceof Dog) {
      Dog d2 = (Dog) o1;
      System.out.print(d2.i + "...");
      } else if (o1 instanceof Cat) {
      Cat c2 = (Cat) o1;
      System.out.print(c2.j + "...");
      } else if (o1 instanceof Rat) {
      Rat r2 = (Rat) o1;
      System.out.println(r2.k);
      }
      o1 = (Object) ois.readObject();
      }
      } catch (EOFException e) {
      // do nothing;
      } finally {
      ois.close();
      oos.close();
      }

      }
      }

    • @RidiculousAman
      @RidiculousAman ปีที่แล้ว

      @@ritikgupta8353 Can you pls share code?

  • @maneeshsharma1117
    @maneeshsharma1117 8 ปีที่แล้ว +2

    Serialization part-1 is missing ,,,part-3 has repeated

    • @Saurabhnaik
      @Saurabhnaik 7 ปีที่แล้ว

      Maneesh Sharma Bhai 2 playlist hai

    • @javacrackofficial
      @javacrackofficial 6 ปีที่แล้ว

      th-cam.com/video/JTdqJ1RC65M/w-d-xo.html

  • @ankitgaur5226
    @ankitgaur5226 7 ปีที่แล้ว

    Sir Serialization Part 1 is missing kindly upload it ASAP

    • @javacrackofficial
      @javacrackofficial 6 ปีที่แล้ว

      th-cam.com/video/JTdqJ1RC65M/w-d-xo.html

    • @prateekgupta7906
      @prateekgupta7906 6 ปีที่แล้ว

      th-cam.com/video/JTdqJ1RC65M/w-d-xo.html&index=2

  • @javacrackofficial
    @javacrackofficial 6 ปีที่แล้ว

    *Serialization part-1* is missing sir...kindly upload the respected video sir plzzzzz...

    • @javacrackofficial
      @javacrackofficial 6 ปีที่แล้ว

      sorry got the video...thankyou so much th-cam.com/video/JTdqJ1RC65M/w-d-xo.html