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
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
Completed watching on Sept 23, 2024 at around 6.41 PM :) :)
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
Excellent explanations!
Simple and clear!
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
Thank you so much, Durga Sir :)
Thank you sir ✨
👏👏👏👏👏👏🙏🙏🙏🙏🙏🙏👍👍👍👍👍👍
126 video completed❤🎉
Day 46 of #75daysofcode in Java
16 April, 2024
Completed this video
Thank you sir
Use this link for Part-1 serialization
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
th-cam.com/video/JTdqJ1RC65M/w-d-xo.html
Sir why uh have not closed ObjectOutputStream in this example? Is it not mandatory to close here?
Supposedly if if are using while loo p how do we check the end of it, I mean what condition should be use.
Hello Gavrav.
Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
while(o!=null){}
Sir I am using while loop in order of objects in serialization and I am getting EOFException?? How to resolve this??
Hello Ritik.
Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
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
@@ritikgupta8353 share code plz bro
@@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();
}
}
}
@@ritikgupta8353 Can you pls share code?
Serialization part-1 is missing ,,,part-3 has repeated
Maneesh Sharma Bhai 2 playlist hai
th-cam.com/video/JTdqJ1RC65M/w-d-xo.html
Sir Serialization Part 1 is missing kindly upload it ASAP
th-cam.com/video/JTdqJ1RC65M/w-d-xo.html
th-cam.com/video/JTdqJ1RC65M/w-d-xo.html&index=2
*Serialization part-1* is missing sir...kindly upload the respected video sir plzzzzz...
sorry got the video...thankyou so much th-cam.com/video/JTdqJ1RC65M/w-d-xo.html