Tricky questions on Java Interface | java interview questions and answers for experienced / Freshers

  Рет қаралды 22,599

Selenium Express

Selenium Express

Күн бұрын

In this video we will discuss some important interview questions on java interface. As Interface is one of the building blocks for java oops , it is obvious that we can except some java interview questions on this concept.
This video covers various topics like ; java Abstract classes Vs Interfaces comparison , default method, multiple inheritance, diamond problem related to multiple inheritance and some tricky java interview questions and answers related to interface / abstract classes (oops).
Timestamp
---------------------
00:00 - Introduction
03:56 - Abstract class
07:43 - Multiple Inheritance Issue
11:14 - What is java diamond problem ?
15:40 - Introducing Interface for multiple Inheritance
18:04 - Ambiguous Variable Issue with Interface
22:58 - Ambiguous Method ( Multiple Inheritance with Interface)
27:29 - Java 8 new feature - Default Method
36:58 - Calling Default Method in Java 8 +
36:58 - Default Method and Multiple Inheritance
51:09 - Java interview questions on Default method priority (Interface Vs Class)
Resources :
If you are new to Spring , please check my spring core, spring mvc, spring mvc intermediate, spring jdbc,spring security playlist on this channel.They all are FREE FULL COURSE and you need them as prerequisite.
If you already have some spring basics, You can take the below paid course On Spring Framework to enhance your skill set.
www.seleniumexpress.com/cours...
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questio...
Watch Spring boot Hot topics
• @Reposicotry Vs @Servi...
Java Interview / Question and Answer series
• Java collections inter...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean...
spring core
• Spring framework tutor...
spring mvc
• Spring MVC course intr...
spring mvc intermediate
• [INTERMEDIATE] Spring ...
Spring JDBC
• Spring JDBC Course Pre...
spring live project
• #1 Build and Deploy A ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course...
For more courses visit
www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
you can ask for support in my website forum
www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express

Пікірлер: 59
@VikashKumar-tt2wm
@VikashKumar-tt2wm Жыл бұрын
Hello ,Abhilash sir, big fan of you. I watched all your videos and it’s really amazing. You know what,I wanted to switch my carrier from IT due to lack of coding skills . Then I found your Videos on KZbin from spring core to spring mvc (session scope ,request scope and many more basic concepts you explained in best way) ,spring security and now spring could. In next six months I became most valuable performer in my project and promoted to next level. All credit goes to you sir, keep it up for us 😊.
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Hi Vikash! You made my day. So happy for you ❤️ keep going 🎯
@nguyenquan4836
@nguyenquan4836 Жыл бұрын
I have watched nearly all of video on your channel, maybe I have addicted the way you explained. Please make more and more video ❤❤❤❤
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Thanks so much. It feels so good to know that my sessions are helping. I will be keep creating videos for you 😊❤️
@NBJavaDev
@NBJavaDev Жыл бұрын
Thanks Abhilash! You are doing commendable job in explaining the concepts along with code.
@azharaktherk2432
@azharaktherk2432 9 ай бұрын
Kudos to your teaching style. Abhilash. More than frameworks basics must be strong so that we can work upon any frameworks. Thanks for bringing this video.
@koripellyindukumarreddy8336
@koripellyindukumarreddy8336 Жыл бұрын
I really love your way of explanation and the knowledge you share. A Big Thank you Abhilash 🤝 Can you please make a series on Data Structures and Algorithms. 😊
@yatendra__singh
@yatendra__singh Жыл бұрын
You are the best...thank you so much for this🙏🙏
@danceayush8128
@danceayush8128 5 ай бұрын
That was an amazing video kudos to you 👏👏 while focusing on Spring , Microservices ..we sometimes forget our basic concepts.
@nimishasreeja4737
@nimishasreeja4737 6 ай бұрын
Good explanation!
@sarthaksrivastav7239
@sarthaksrivastav7239 Жыл бұрын
That's the difference between a experienced person and a fresher one. I have seen your video on interface and abstract classes, but this lecture helps me to know exact need of the interfaces. Being a fresher I always have the mindset to learn and learn. And trust me whenever I saw your video I really got to know lots of new concepts.... Thanks for sharing your love and experience with us.✨ On 17 Jan I have an interview at ICL and I am just revising the concepts for that. Thankyou so much.❤️
@X_y_zaid
@X_y_zaid Жыл бұрын
How did your interview went?
@santhoshchandran6952
@santhoshchandran6952 Жыл бұрын
Thank you ..started watching 👀
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Thanks Santhosh!
@45_ritiksharma32
@45_ritiksharma32 Жыл бұрын
Please make a vidio on composition and aggregation
@debiprasaddash654
@debiprasaddash654 Жыл бұрын
Keep it up sir doing great job 🙏
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Thank you
@TheRebelMe
@TheRebelMe Жыл бұрын
Amazing way of teaching concepts and i learnt a lot of concepts in single video .Thank you
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Glad that you found it helpful.
@prashlovessamosa
@prashlovessamosa Жыл бұрын
Your channel is heaven to me
@ajaygosavi2487
@ajaygosavi2487 Жыл бұрын
thank you abhilash for making such valuable videos..plz make more videos regarding core java interview questions
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Thanks Ajay ! Yes, I will keep doing it.
@anishmathew7108
@anishmathew7108 8 ай бұрын
need more this type class
@akhil7556
@akhil7556 6 ай бұрын
great
@user-hr5tb5fq1c
@user-hr5tb5fq1c Жыл бұрын
Good explanation sir, kindly make static method in interface too.
@Jorge150CL
@Jorge150CL Жыл бұрын
thanks bro
@IDk-bh8en
@IDk-bh8en Жыл бұрын
Thank you sir.. ❤❤❤
@chintu4609
@chintu4609 Жыл бұрын
I don't know why it happens....Me aapki video ek topic seekhne ke liye aata hoon or me 4 topics seekh kr jata hu. Feels lucky while watching your videos that i found your channel. Thank you so much😇🥰
@gopalakrishna886
@gopalakrishna886 Жыл бұрын
Zing zing amezing 🥰
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Thank You. ☺
@pradipchoudhari2254
@pradipchoudhari2254 Жыл бұрын
Happy new year sir 🎉 great to see you again
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Happy new year,Pradip ! ❤️
@himanshupujari5558
@himanshupujari5558 Жыл бұрын
Sir your explanation ❤️.. please continue this series
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Thanks Himanshu. I will continue this.
@himanshupujari5558
@himanshupujari5558 Жыл бұрын
@@SeleniumExpress Thank you sir 😊
@All_In_786
@All_In_786 9 ай бұрын
Your lecture are so interesting that while like the class get the priority over default method same your lecture takes the priority over my sleep 🥱❤
@firozalam2749
@firozalam2749 Жыл бұрын
you are precious god gift for it
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Thanks for the kind words, Firoz ❤️
@gstarentertainmentedits2415
@gstarentertainmentedits2415 Жыл бұрын
Watching..🔥🙏
@SeleniumExpress
@SeleniumExpress Жыл бұрын
😊
@rameshbhivare9429
@rameshbhivare9429 Жыл бұрын
please make videos on Design Patterns it will be more helpfull
@srigakolapuatchuthasai5929
@srigakolapuatchuthasai5929 Жыл бұрын
Thanks abhi ❤️❤️❤️
@SeleniumExpress
@SeleniumExpress Жыл бұрын
🥰
@rameshwarirane549
@rameshwarirane549 Жыл бұрын
I have watched most of your videos and all of them are super good.Even if videos are on simple topics you explain them so well covering all tricky questions. Especially your videos of mock interviews are so good .All the detailed and from scratch explanation does make complicated concepts easier to learn.All your videos has helped me build my concepts more stronger.Please make more videos on interview questions and answers and also a series of spring boot learning. :)
@SeleniumExpress
@SeleniumExpress Жыл бұрын
That's so kind of you, Rameshwari. I will surely work on your suggestions and will publish them shortly 😊
@sharrmilaadeviramasamy7356
@sharrmilaadeviramasamy7356 Жыл бұрын
Hello sir, Can you also post tricky questions on static and java8
@pushpendrapundir3449
@pushpendrapundir3449 Жыл бұрын
interface A{ int a = 10; } class Test implements A{ public static void main(String[] args) { A.a = 20; System.out.println(A.a); } } Ans : Compile Time error because by default vars of an interface are public, static and final.
@SeleniumExpress
@SeleniumExpress Жыл бұрын
perfect !
@sailakshmi4406
@sailakshmi4406 6 ай бұрын
Can you make videos on microservices as well?
@rameshghantasala4854
@rameshghantasala4854 Жыл бұрын
Please upload next videos on Microservices
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Hi Ramesh. I will create a new series for circuit breaker later on Feb.
@rajivraushan1387
@rajivraushan1387 Жыл бұрын
public static final i think...(fields)
@Srikanth-kq5be
@Srikanth-kq5be 5 ай бұрын
Can you provide notes of it. That will very helpful
@muralikrishna6044
@muralikrishna6044 10 ай бұрын
I have kne doubt... That was if we extends two abstract classes after that will extends to normal classs is it possible..? 😊
@muralikrishna6044
@muralikrishna6044 10 ай бұрын
How can I grab java 8 tutorials could you please let me know
@vishalgaikwad873
@vishalgaikwad873 Жыл бұрын
public class Test extends C implements A, B { } //Your syntex is also good No Errors, But this is the proper way of writing the code.
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Hi Vishal , Try my one . You will get a compile time error I believe . That's the catch. 🙂
@vishalgaikwad873
@vishalgaikwad873 Жыл бұрын
@@SeleniumExpress correct✅
@gonepavankumar207
@gonepavankumar207 7 ай бұрын
public class T extends t3 implements t1, t2 { public static void main(String[] args) { new T().m1(); new T().m2(); new T().m3(); } @Override public void m1() { System.out.println("inside m1 method"); } @Override public void m2() { System.out.println("inside m2 method"); } @Override public void m3() { System.out.println("inside m3 method"); } } interface t1 { public abstract void m1(); } interface t2 { public abstract void m2(); } abstract class t3 { public abstract void m3(); } yes correct this
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,1 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 2,2 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
MUST KNOW junior role JAVA interview questions
42:15
Keep On Coding
Рет қаралды 98 М.
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53