Abstract classes cannot be serialized because serialization means saving state of the object and it is not possible to create instance of abstract class.
abstract classes cannot be serialized is generally correct....Since you cannot create an instance of an abstract class directly, you also cannot serialize an abstract class directly.Serialization requires an instance of a class, and since abstract classes cannot be instantiated, they cannot be serialized on their own. an abstract class can implement the Serializable interface. However, since you cannot create instances of the abstract class, you cannot directly serialize it. You can serialize instances of concrete subclasses.
Hello @anilreddy7572, Thank you so much for your comment .I'm glad to hear that you found the video helpful and enjoyable.Your positive feedback and encouragement mean a lot to me.I appreciate your suggestion to create more similar videos, and I assure you that I'll take it into consideration for future content.
Thank you @pranav2003 for taking the time to watch our video and leaving your kind comment! If you have any questions or need further clarification please feel free to ask.
Hi @RaviYadav-cx2pb, I appreciate your feedback and request for more complex Spring Boot coding interview questions. The questions covered in the videos are the real ones which I faced during my interview with JP Morgan.
When you create a string using double quotes, like String str = "JavaCharter";, it goes into the string constant pool. The string constant pool is a part of the heap memory but is specifically used to store literal strings to optimize memory usage. When you use the new keyword to create a string object, like String str = new String("JavaCharter");, it creates a new string object in the heap memory. The string constant pool is not involved in this case, as you explicitly create a new object. When a new keyword is used to create a string object, it is created in the heap memory, not in the string constant pool.
Visited. In your 11 years of experience what are the important questions asked to you? Design Architecture etc if @controller returns view and @restcontroller is including controller then why it cannot return view?
Hi @RexSmith Hardy, Thank you for visiting my TH-cam channel and leaving your question! I appreciate your curiosity about the important questions I've faced in my 11 years of experience, particularly in the field of Design Architecture. To clarify, in the video, I focused on sharing the interview questions which I faced during the interview. I didn't include questions specific to my past projects to ensure that the content remains relevant and beneficial to a broader audience of aspiring professionals. This role was for mumbai location. Thanks again for your interest and support.
@@RealSlimShady-um6gf Thank you so much for your comment and for watching my video! If I encounter any specific questions related to architecture in my future interviews, I will definitely make a new video to cover them. Your feedback is greatly appreciated, and I'm always looking for ways to improve and provide valuable content. Stay tuned for more updates, and thanks again for your support!
Hi @shekharnavale5382, Thank you for your feedback! I appreciate your interest in the topic of Microservices. This video is actually part-I of a series Please do check part-II of the series as well. The URL for part-II can be found in the video's description as well as in the comment section. I included 'Microservices' in the subject and thumbnail because that was actually in job description. f you have any specific questions or anything, please feel free to let me know. Your feedback is valuable in shaping the content I create. Thanks again for watching
Hello @ChandanKumar-xd1tg , Thank you for watching my Java interview questions video and taking the time to comment. I appreciate your feedback. Regarding the experience level of the questions, it's important to note that interview questions can vary based on the specific role, company, and interviewer's preferences. The questions I shared in the video are based on my personal experience during an interview with JP Morgan, and they reflect the level of questions I encountered at that time. I encourage you to watch part 2 of the interview video as well to get a better understanding of the overall interview process. If you have any specific questions or topics you would like me to cover, feel free to let me know. Part-II URL : th-cam.com/video/3P31rWnRUS4/w-d-xo.html Thanks,
Chandan : this company must have recently shifted to Spring Boot as earlier they had the old Java basics JSP Servlets. So the panel too will be new in Spring Boot
Hello @MonuB-vn2hp, Thank you for your comment! Regarding your question, I would like to clarify that I personally received a referral from a friend named Vaibhav who works there, which led to me applying with JP Morgan. After submitting my application, I received an email from a jpmchase.com email address, indicating that I had been selected for further evaluation. The interview process consisted of two technical rounds, a Hackerrank test, followed by a managerial round, and finally an HR round.
@@sachinbhatia7471 : Thank you for reaching out! I appreciate your interest. In response to your question, I would like to inform you that I was indeed selected for the position at JP Morgan after clearing the Hackerrank test and the subsequent interview rounds. However, I ultimately decided not to join as I received an onsite offer from my current organization, which I found to be a better fit for my career goals at that time.
Hello Anjali or whatever your name is. Thanks for your comment. All the interview questions which I have posted are genuine. If I were creating false content, I would be posting regularly, which I don't. I do this as to share knowledge and learnings, not for earnings, as my subscriber count is quite modest. Presently, I'm not going through any new interviews since I started a new job 8 months ago. If my content doesn't appeal to you, I encourage you to find something more to your liking. Thanks again for visiting my channel.
Abstract classes cannot be serialized because serialization means saving state of the object and it is not possible to create instance of abstract class.
abstract classes cannot be serialized is generally correct....Since you cannot create an instance of an abstract class directly, you also cannot serialize an abstract class directly.Serialization requires an instance of a class, and since abstract classes cannot be instantiated, they cannot be serialized on their own.
an abstract class can implement the Serializable interface. However, since you cannot create instances of the abstract class, you cannot directly serialize it. You can serialize instances of concrete subclasses.
Really very nice video👌👏 Questions are unique... It helps in preparing Java interviews...Thank you for Sharing Questions and Answers too😊👌👏
Thank you so much for your encouragement. 😚
@@JavaCharter 😘💓
Very helpful, thank you!
You are welcome. Thank you for your comment.
Part-II URL : th-cam.com/video/3P31rWnRUS4/w-d-xo.html
Good luck!
Add this in video description as you just have given GitHub link not TH-cam link
Good video bro. Please post similar videos like these, these videos are really visible
Hello @anilreddy7572,
Thank you so much for your comment .I'm glad to hear that you found the video helpful and enjoyable.Your positive feedback and encouragement mean a lot to me.I appreciate your suggestion to create more similar videos, and I assure you that I'll take it into consideration for future content.
Thanks for restcontroller and controller and serialization definations
Thank you @pranav2003 for taking the time to watch our video and leaving your kind comment! If you have any questions or need further clarification please feel free to ask.
nice video
Thank you....@varungudisena9463
More complex spring boot coding interview questions please
Hi @RaviYadav-cx2pb, I appreciate your feedback and request for more complex Spring Boot coding interview questions. The questions covered in the videos are the real ones which I faced during my interview with JP Morgan.
When a new keyword is used to create a string object one created in heap and another is created in const pool..??
When you create a string using double quotes, like String str = "JavaCharter";, it goes into the string constant pool.
The string constant pool is a part of the heap memory but is specifically used to store literal strings to optimize memory usage.
When you use the new keyword to create a string object, like String str = new String("JavaCharter");, it creates a new string object in the heap memory.
The string constant pool is not involved in this case, as you explicitly create a new object. When a new keyword is used to create a string object, it is created in the heap memory, not in the string constant pool.
thank you.@@JavaCharter
Visited. In your 11 years of experience what are the important questions asked to you? Design Architecture etc if @controller returns view and @restcontroller is including controller then why it cannot return view?
Hi @RexSmith Hardy,
Thank you for visiting my TH-cam channel and leaving your question!
I appreciate your curiosity about the important questions I've faced in my 11 years of experience,
particularly in the field of Design Architecture.
To clarify, in the video, I focused on sharing the interview questions which I faced during the interview.
I didn't include questions specific to my past projects to ensure that the content remains relevant
and beneficial to a broader audience of aspiring professionals.
This role was for mumbai location.
Thanks again for your interest and support.
@@JavaCharter any questions very specific to the architecture that you can add in your next new video?
@@RealSlimShady-um6gf Thank you so much for your comment and for watching my video! If I encounter any specific questions related to architecture in my future interviews, I will definitely make a new video to cover them. Your feedback is greatly appreciated, and I'm always looking for ways to improve and provide valuable content. Stay tuned for more updates, and thanks again for your support!
Was it a fresher's interview?
in this video not any single question for Microservices
Hi @shekharnavale5382,
Thank you for your feedback! I appreciate your interest in the topic of Microservices. This video is actually part-I of a series Please do check part-II of the series as well.
The URL for part-II can be found in the video's description as well as in the comment section. I included 'Microservices' in the subject and thumbnail because that was actually in job description.
f you have any specific questions or anything, please feel free to let me know. Your feedback is valuable in shaping the content I create. Thanks again for watching
2 two years experience questions ha.Dont tell 10 years experience
Hello @ChandanKumar-xd1tg ,
Thank you for watching my Java interview questions video and taking the time to comment. I appreciate your feedback.
Regarding the experience level of the questions, it's important to note that interview questions can vary based on the specific role, company, and interviewer's preferences. The questions I shared in the video are based on my personal experience during an interview with JP Morgan, and they reflect the level of questions I encountered at that time.
I encourage you to watch part 2 of the interview video as well to get a better understanding of the overall interview process. If you have any specific questions or topics you would like me to cover, feel free to let me know.
Part-II URL : th-cam.com/video/3P31rWnRUS4/w-d-xo.html
Thanks,
Chandan : this company must have recently shifted to Spring Boot as earlier they had the old Java basics JSP Servlets. So the panel too will be new in Spring Boot
Did u get hackerrank exam also? How you applied
Bro i got hackerrank test. Can you tell ne you got selected or not?
@@sachinbhatia7471 I got call but couldnt attend yet ..wbu?
Hello @MonuB-vn2hp,
Thank you for your comment! Regarding your question, I would like to clarify that I personally received a referral from a friend named Vaibhav who works there, which led to me applying with JP Morgan. After submitting my application, I received an email from a jpmchase.com email address, indicating that I had been selected for further evaluation. The interview process consisted of two technical rounds, a Hackerrank test, followed by a managerial round, and finally an HR round.
@@sachinbhatia7471 : Thank you for reaching out! I appreciate your interest. In response to your question, I would like to inform you that I was indeed selected for the position at JP Morgan after clearing the Hackerrank test and the subsequent interview rounds. However, I ultimately decided not to join as I received an onsite offer from my current organization, which I found to be a better fit for my career goals at that time.
omg, Don't post false interviews.
Hello Anjali or whatever your name is.
Thanks for your comment. All the interview questions which I have posted are genuine. If I were creating false content, I would be posting regularly, which I don't. I do this as to share knowledge and learnings, not for earnings, as my subscriber count is quite modest.
Presently, I'm not going through any new interviews since I started a new job 8 months ago. If my content doesn't appeal to you, I encourage you to find something more to your liking.
Thanks again for visiting my channel.