Core Java Interview Questions & Answers | Top FAQs Explained! | @Javatechie

preview_player
Показать описание
#JavaTechie #SpringBoot #InterviewTips #CoreJava

👉 In this comprehensive video, we dive deep into the world of Core Java by addressing some of the most commonly asked questions and providing clear and concise answers

⏰ Timestamps
---------------------------
00:06 The pillar of OOPs concept includes encapsulation, inheritance, polymorphism, and abstraction.
02:53 This subpart explains encapsulation, inheritance, and polymorphism in Java.
07:51 Dynamic polymorphism allows multiple implementations of the inventory service
10:25 Overriding static and private methods is not allowed
15:33 Using default methods in Java interfaces for flexible implementation
17:51 Accessing parent property and overriding default methods
22:25 The finalize method is not called if the system GC is done.
24:35 Proper implementation of equals and hashCode methods is necessary to avoid duplicates in collections.
29:25 Compile time exceptions can be handled at compile time
31:51 FileNotFound exception is a checked exception and not a compile time exception.
36:30 Delegating exception handling to next method caller
38:29 Understanding the order of exception hierarchy is important while handling exceptions in Java.
42:48 finally block can be stopped from executing
45:10 String objects can be created using the new keyword or string literal
49:54 String is immutable
52:13 String class is immutable in Java
56:16 String buffer and StringBuilder are mutable, while String is immutable.
58:38 Creating an immutable class: Setter method write only getter method
1:03:23 Demonstrating how to avoid modifying a Date object in Java
1:05:48 Handling mutability in Java objects
1:10:42 Using the clone method to create a separate copy of an object.
1:12:58 It is recommended to use char array instead of String for storing passwords.
1:17:21 Writing custom marker interfaces in Java
1:19:18 The difference between AR list and linked list
1:23:23 Using generics with lists helps in avoiding type cast issues.
1:25:33 Creating a custom AR list to disallow duplicates
1:30:36 Set implementation allows duplicate objects if equals and hashCode methods are not overridden for custom objects.
1:32:58 The contract between equals and hashCode methods determines if duplicate objects are allowed
1:37:42 Sorting objects based on ID and name using Comparable and Comparator
1:40:22 Creating Comparators in Java for sorting objects based on different attributes.
1:45:56 Explanation of custom sorting using comparator
1:48:16 Fail-fast and fail-safe iterators in Java
1:52:42 ConcurrentHashMap is used when parallel thread access and modification is required.
1:54:42 ConcurrentHashMap does not allow adding null keys or values and throws a null pointer exception immediately.
1:58:58 ConcurrentHashMap uses segment locking or bucket locking
2:01:14 ConcurrentHashMap is preferred over Hashtable due to its locking mechanism.
2:05:46 Hing Collision
2:07:54 Hash map internally uses linked list nodes.
2:12:03 Understanding TreeMap in Java
2:14:50 The compareTo() method compares two objects and returns -1, 0, or 1 based on the comparison result.

Spring boot microservice Premium course lunched with 70% off 🚀 🚀

Hurry-up & Register today itself!

PROMO CODE : JAVATECHIE50

OR use Javatechie APP

Download the JavaTechie app on your iOS or Android device from the App Store or Google Play Store.

Find the links below :

Android 🌐 :

IOS 🌐 :

GitHub:

Blogs:

Facebook:

Join this channel to get access to perks:

🔔 Guys, if you like this video, please do subscribe now and press the bell icon to not miss any update from Java Techie.

Disclaimer/Policy:
📄 Note: All uploaded content in this channel is mine and it's not copied from any community, you are free to use source code from the above-mentioned GitHub account.
Рекомендации по теме
Комментарии
Автор

00:06 The pillar of OOPs concept includes encapsulation, inheritance, polymorphism, and abstraction.
02:53 This subpart explains encapsulation, inheritance, and polymorphism in Java.
07:51 Dynamic polymorphism allows multiple implementations of the inventory service
10:25 Overriding static and private methods is not allowed
15:33 Using default methods in Java interfaces for flexible implementation
17:51 Accessing parent property and overriding default methods
22:25 The finalize method is not called if the system GC is done.
24:35 Proper implementation of equals and hashCode methods is necessary to avoid duplicates in collections.
29:25 Compile time exceptions can be handled at compile time
31:51 FileNotFound exception is a checked exception and not a compile time exception.
36:30 Delegating exception handling to next method caller
38:29 Understanding the order of exception hierarchy is important while handling exceptions in Java.
42:48 finally block can be stopped from executing
45:10 String objects can be created using the new keyword or string literal
49:54 String is immutable
52:13 String class is immutable in Java
56:16 String buffer and StringBuilder are mutable, while String is immutable.
58:38 Creating an immutable class: Setter method write only getter method
1:03:23 Demonstrating how to avoid modifying a Date object in Java
1:05:48 Handling mutability in Java objects
1:10:42 Using the clone method to create a separate copy of an object.
1:12:58 It is recommended to use char array instead of String for storing passwords.
1:17:21 Writing custom marker interfaces in Java
1:19:18 The difference between AR list and linked list
1:23:23 Using generics with lists helps in avoiding type cast issues.
1:25:33 Creating a custom AR list to disallow duplicates
1:30:36 Set implementation allows duplicate objects if equals and hashCode methods are not overridden for custom objects.
1:32:58 The contract between equals and hashCode methods determines if duplicate objects are allowed
1:37:42 Sorting objects based on ID and name using Comparable and Comparator
1:40:22 Creating Comparators in Java for sorting objects based on different attributes.
1:45:56 Explanation of custom sorting using comparator
1:48:16 Fail-fast and fail-safe iterators in Java
1:52:42 ConcurrentHashMap is used when parallel thread access and modification is required.
1:54:42 ConcurrentHashMap does not allow adding null keys or values and throws a null pointer exception immediately.
1:58:58 ConcurrentHashMap uses segment locking or bucket locking
2:01:14 ConcurrentHashMap is preferred over Hashtable due to its locking mechanism.
2:05:46 Hing Collision
2:07:54 Hash map internally uses linked list nodes.
2:12:03 Understanding TreeMap in Java
2:14:50 The compareTo() method compares two objects and returns -1, 0, or 1 based on the comparison result.

s
Автор

Must watch interview questions video for java developers. Everything is explained practically. Thanks a lot.

ozifwgw
Автор

Thank you for great video. 99% teacher would cover these questions in 20 mins and most of us wouldn't understand anything and end up memorizing the answers. but you have properly explained each and every answer in great detail in 2 hours.

neonew
Автор

Such an awesome content and perfect timing. I was about to revise all the java basic to advance concept and here you go with the comprehensive and nice explanation of each n every concept. 🎉🎉

faixan
Автор

Definitely a must watch video, thanks a lot.

SagarBisen-ktex
Автор

Most informative practical video of core java interviews

mayankmanral
Автор

This is very much needed video. Thankyou very much sir!!

vishnuvardhan
Автор

Thank you for covering most of the topics...

kamleshpatil
Автор

Thank you so much for this content before interview, i go though this video mostly 90% are the same questions great work

pbsbvfh
Автор

What a timing man! This will really help me i. Preparation, thanks! Your content is very deep and practical!!

kumargagare
Автор

Waw, awaited video.
Thank you so much 🙏❤

Vithal_Nivargi
Автор

Thank you sir it's very helpful for beginner to experience person.

gautamfitnesslook
Автор

Excellent content, thanks for providing them. Really helpful for interview preparation 🙂

sreerekhamenon
Автор

these are the best interview questions on java

rohanchowdary
Автор

Really very helpful bhaii.. thank you so much❤

Suraj-djrk
Автор

Because of break i don't have confidence but after watching this vedio slowly recovering 😊, thank you so much Basanth .

pavanik
Автор

Yes Basant. Cover With Scenario all topic

bquvvbp
Автор

Hi Sir i really like the way you get into the topic in depth, can you please make videos on Data Structures with Java now every company is expecting to know in deep about this topic. I live in USA and this is one more nice video from you.. i generally wont write reviews for any videos but after watching yours couldn't able stop myself appreciating your hard work.. Keep up the great work Sir..

fqxvfrl
Автор

Thanks a lot... I really appreciate your videos. Your lectures are useful for experienced candidates. Can help to share the questions PPT that would be very helpful.

udayagiriveeru
Автор

As usual the bestest content we can found here☺️

jagrutipatil