Timestamps (Table of content): Why Java is not a pure object-oriented language - 0:00:10 Java JDK, JRE, and JVM - 0:06:50 8+ main() method interview questions and answers - 0:14:32 10+ Java array interview questions and answers - 0:29:25 15+ Java String Interview questions and answers - 0:53:41 10+ Java String Tricky coding questions and answers - 1:18:04 Difference between List and Set - 1:40:20 Difference between ArrayList and LinkedList - 1:47:13 Explain collections framework hierarchy - 1:55:56 Difference between Collections and Streams - 2:05:50 15+ Java Stream API interview questions and answers - 2:16:47 15+ Java 8 interview questions and answers - 2:42:47 10+ Java tricky coding questions and answers - 3:16:28
Sir, regarding intern method and SCP , i think some mistakes are there in the way you explained. I am telling this based on what Durga sir taught in his videos. Please let us know which is correct. According to him when you create string objects using new keyword, if the string literal is not present in the SCP , then first it is created in SCP and one is created in heap as well.
3:40:11 Base class foo method is private, private method we can t override. So it will call the base class foo method. There is a small mistake in talk. Thank you
@@bikashdatta9023 foo method in base class have private access modifier and foo method in derived class have default access modifier.. If both classes have method with different access modifier then priority will be given to method with lower visibility..
@@rhehebbfb6386 I appreciate your time. Thanks. Bro, please see this code snippet given below: class Main{ public static void main(String[] args){ Main obj=new Child(); obj.foo(); } protected void foo(){ System.out.println("main"); } } class Child extends Main{ public void foo(){ System.out.println("derived"); } } Here the output is "derived". But the visibility of foo() at Main class is less.
@@bikashdatta9023 that's because private access modifier restrict the access to single class only.. by this principle jvm thinks that since the method can be accessed from that class only its behaviour cannot be changed (overridden) from other class.. so it simply treat both methods as two different methods.. so it does not take overriding into consideration.. and simply call the method in reference class..
3:40 i didnt understand why the Program didn t throw an error because the foo() method is Private so isn't visible outside the Base class even if we assign the object to the Base reference ! any explanation please !
Ramesh for a 1 year experienced individual what is asked mostly in the java backend interview. I can do this video thorougly and do core java quesrtions, and can do DSA but what more? is system design required? computer fundamentals? springboot in depth?
The content is fine but he keeps repeating himself so this 4 hour video could of probably been way shorter, like 2 hours probably :) Good job and thanks for this video!
Timestamps (Table of content):
Why Java is not a pure object-oriented language - 0:00:10
Java JDK, JRE, and JVM - 0:06:50
8+ main() method interview questions and answers - 0:14:32
10+ Java array interview questions and answers - 0:29:25
15+ Java String Interview questions and answers - 0:53:41
10+ Java String Tricky coding questions and answers - 1:18:04
Difference between List and Set - 1:40:20
Difference between ArrayList and LinkedList - 1:47:13
Explain collections framework hierarchy - 1:55:56
Difference between Collections and Streams - 2:05:50
15+ Java Stream API interview questions and answers - 2:16:47
15+ Java 8 interview questions and answers - 2:42:47
10+ Java tricky coding questions and answers - 3:16:28
Sir, regarding intern method and SCP , i think some mistakes are there in the way you explained. I am telling this based on what Durga sir taught in his videos. Please let us know which is correct.
According to him when you create string objects using new keyword, if the string literal is not present in the SCP , then first it is created in SCP and one is created in heap as well.
For such contents, I don't even skip the ads, because those guys should earn! Thank you Bro!
Totally agreed bro... His contents are very useful & easy to understand for everyone 👌👏..
3:40:11
Base class foo method is private, private method we can t override. So it will call the base class foo method. There is a small mistake in talk. Thank you
Thank you very much, I will watch this list before applying for a job, your channel is a Java gem that I feel lucky to find it.
For attend java interview we need full knowledge about java
Really great content ever! Thanks Ramesh, I've learnt a lot.
Absolutely nice content.. It would be so much helpful if u make more such videos that will strengthen the basics of java language..
Great video! Watch and rewatch. Thank you for creating useful content👍👍👍
Thank you so much sir , This is very helpful for me .
Best tutorial for core java ever.. thanks sir👏
thank you so much .... best content !!! ❤❤
You're welcome 😊
At 3:40 why printed baseclass.foo.? Foo method is present in derived class and it is runtime polymorphism so it should have printed derivedclass.foo?
3:38:56 If you got the answer, please explain.
@@bikashdatta9023 foo method in base class have private access modifier and foo method in derived class have default access modifier..
If both classes have method with different access modifier then priority will be given to method with lower visibility..
@@rhehebbfb6386 I appreciate your time. Thanks.
Bro, please see this code snippet given below:
class Main{
public static void main(String[] args){
Main obj=new Child();
obj.foo();
}
protected void foo(){
System.out.println("main");
}
}
class Child extends Main{
public void foo(){
System.out.println("derived");
}
}
Here the output is "derived". But the visibility of foo() at Main class is less.
@@bikashdatta9023 that's because private access modifier restrict the access to single class only.. by this principle jvm thinks that since the method can be accessed from that class only its behaviour cannot be changed (overridden) from other class.. so it simply treat both methods as two different methods.. so it does not take overriding into consideration.. and simply call the method in reference class..
@@rhehebbfb6386 Thanks a lot😁
wow great explanation, really learnt so much.
Thanks brother for your great patience and cool explanation
Great content, thank you so much !
sir 3:39:10 you said it is calling derived class methods but its calling base class could you explain whY? see the run time solution you executed
Thanks a ton for this Video !
very useful content! thank you!
Thanks a lot ,this is very helpfull for us..........
Dhyanyawad ramesh sir @RameshFadatare
Good efforts my dear brother
3:40 i didnt understand why the Program didn t throw an error because the foo() method is Private so isn't visible outside the Base class even if we assign the object to the Base reference ! any explanation please !
So nice thanks so much, Greetings from Mexico City.
very useful content👌
Great video, good for brushing up before going to interview, thank you for your efforts
Thanks for such a clear explaination.
Please make a video for Oops concepts ..
Thanks a lot . It helps for interviews
Very useful 👌
big thanks,
Thank you now I'm going to watch whole video according to comment 😂
thank you 🥰
Thanks guy so much !
Thank you a lot!
Thanks a lot sir😍
great. thanks
Hi Ramesh
Thank you for this content.
Any plan to provide design patterns
Hey it helped me to brush up concepts
String s1 = "HELLO";
String s2 = "HELLO"; In your example both are having the same reference right how come s1==s2 is false ? it will return true..
great video.
Thank so much!!! =D
Nice content and coverage, but u missed exceptional handling and threading questions
Nice video sir
Amazing video but would be nice if you used dark mode. Hard to watch in the dark.
Decrease brightness of your screen.
It may help a little bit.
Please upload complete Java course
Sir for fresher what are topics to known well about java
The derived foo and base foo answer is wrong ? It's not printing derived but base time 3.38
thanks Ramesh
Can i get notes for this video?
Could u plz post a video on java 8 features
Java 8 features explained briefly in interview video
Check out Java 8 tutorial on this channel to learn Java 8 features
@@JavaGuides ok... I will... thanks a lot
Ramesh for a 1 year experienced individual what is asked mostly in the java backend interview.
I can do this video thorougly and do core java quesrtions, and can do DSA
but what more?
is system design required?
computer fundamentals?
springboot in depth?
TH-cam se kitna payment mil rHa, hai yaar? I m jobless still, total 8 years gap, but I know spring boot, also angular ?
The content is fine but he keeps repeating himself so this 4 hour video could of probably been way shorter, like 2 hours probably :) Good job and thanks for this video!