Java interview Prep - Java interview questions and answers ( coding & Conceptual) | Java Mock

preview_player
Показать описание
In this video, We will discuss different java interview questions. This java mock interview will help you for java coding and programming related questions and in the same time different conceptual questions related to oops, multithreading, java 8, solid principles , serialization, java strings and etc.

Timestamp
-----------------
00:00 - what is solid principles in java ?
01:12 - single responsibility principle
11:06 - what is string constant pool in java ?
13:09 - string object creation interview questions
16:15 - string coding interview questions in java
19:25 - hashmap internal working
25:14 - hashmap interview questions
26:40 - why multiple inheritance is not supported in java
29:14 - java interface interview questions
30:51 - java 8 interview questions
32:07 - java 8 function vs bifunction
35:19 - method hiding in java vs method Overriding
36:52 - @Override retention policy
40:07 - what is memory leak in java ?
41:17 - How do you protect your code from memory leak ?
42:15 - what is try with resources in java ?
42:53 - how thread communication happens in java ?
44:49 - what is serialization in java ?
45:55 - dependency inversion principle vs Dependency Injection

For more mock interviews in java, please follow the below playlist.

the above mock series will help you to prepare for any java interviews both for freshers and experienced.

For more free/paid courses visit

#javainterviewquestionsandanswers #javainterview #javacodinginterview

For More free/paid courses visit

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers

Watch my new Hello spring boot series

Watch Spring boot Hot topics

Java Interview / Question and Answer series

Explain spring Bean Lifecycle

spring core

spring mvc

spring mvc intermediate

Spring JDBC

spring live project

SPRING SECURITY COURSE[NEW]

For more courses visit

Any time you are getting stuck with issues, Feel free to ask for support.

you can ping me on my Facebook page

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"

you can ask for support in my website forum

Follow me on Insta

Category -
java interview
java realtime interview questions
java interview questions and answers for experienced
java interview questions and answers
java mock interview
Рекомендации по теме
Комментарии
Автор

Abhilash sach type of video are really very helpful for IT professionals as well as students who are unable to learn from institutions due to money. I really appreciate your great work.. We are all thankful to you ❤🙏

dolonroy-ce
Автор

Who cares about SOLID principle or Single Responsibility? Just do whatever makes sense to you. Most of the times, whatever makes sense to you is a design pattern.
6:55 the code format is not nice: why is there always an empty line at the beginning of each method body? Sometimes, there's no empty line between methods.
12:59 The string pool sizes vary in different java versions, jvm implementations and are configurable. So, IMO, in String str = "foo" we don't know if "foo" will go to the pool or not. That means we shouldn't care about the string pool.
41:00 IMO, it's not a memory leak as I can still use it with Test.noList. IMO, memory leak is the memory that cannot be GCed but we cannot use it because we don't have any variable pointing to it. This is the only example of memory leak that I know of: you have a web app, every request will be served by a thread; then you write some data into the ThreadLocal of that thread. So, the thread can be terminated and cannot be used for another request because it still has data and if we're not in that thread anymore, there's no way to use that thread's ThreadLocal.
44:19 it's 2024, is there any reason to use .wait(), .notify(), synchronized ... (all of them destroy the purpose of virtual threads)?
45:00 does "implements Serializable" help with anything? Does it make an object serializable if that object has something not serializable? Does the absence of "implements Serializable" make an object not serializable even when all the properties of that object are serializable? If the answers are NO, then why do you want to write it?

avalagum
Автор

It's very informative video, Thank you so much!

gajananambekar
Автор

Thanks for putting together all of these things. I have a good understanding.

crazyincars
Автор

As always, great content mate.

I'm not sure if you have any plans but it'll be awesome to start a leetcode series for Java.

Anyways, thank you for always uploading great content, keep up the good work 👍

Petrichor
Автор

Content is gold, but Most Underrated Youtube channel 🙃

nameizdanny
Автор

Hi Abhilash, please continue this series

srikanthbathula
Автор

Please upload spring and microservice interview as well!

GunShot
Автор

I dont think we can extend multiple class in a class 27:54

rajaganesh
Автор

Abhilash we need for such type of videos, its really helpful

honeysungra
Автор

I also want to appear for the mock interview

manutyagi
Автор

Please makr some series on DSA waiting ❤

vijik
Автор

Hi Sir please upload Parallel Stream Video 😮

himanshubaviskar
Автор

Great Abhilash , The set of questions is really helpful, and I appreciate how you explained each one. Thanks a lot man❤️

aadeshsontakke
Автор

Brother make one video for fresher interview questions plz

rajeshkadam