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

Sdílet
Vložit
  • čas přidán 19. 10. 2023
  • #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!
    COURSE LINK : javatechie5246.ongraphy.com/
    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 🌐 :
    play.google.com/store/apps/de...
    IOS 🌐 :
    apps.apple.com/in/app/javatec...
    GitHub:
    github.com/Java-Techie-jt
    Blogs:
    / javatechie4u
    Facebook:
    / javatechie
    Join this channel to get access to perks:
    czcams.com/users/javatechiejoin
    🔔 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.
  • Věda a technologie

Komentáře • 178

  • @s49243
    @s49243 Před 7 měsíci +67

    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.

  • @user-oz9if9wg3w
    @user-oz9if9wg3w Před 3 měsíci +2

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

  • @neonew339
    @neonew339 Před 7 měsíci +8

    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.

  • @faixan13
    @faixan13 Před 7 měsíci +6

    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. 🎉🎉

  • @vishnuvardhan632
    @vishnuvardhan632 Před 3 měsíci +1

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

  • @mayankmanral4894
    @mayankmanral4894 Před 7 měsíci +1

    Most informative practical video of core java interviews

  • @kamleshpatil1959
    @kamleshpatil1959 Před 3 měsíci +1

    Thank you for covering most of the topics...

  • @user-nz5ur6ye1d
    @user-nz5ur6ye1d Před 4 měsíci +1

    No words to thank you sir.!! 🙏

  • @pavanik6863
    @pavanik6863 Před 3 dny

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

  • @kumargagare6154
    @kumargagare6154 Před 7 měsíci +1

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

  • @Vithal_Nivargi
    @Vithal_Nivargi Před 7 měsíci +1

    Waw, awaited video.
    Thank you so much 🙏❤

  • @gautamfitnesslook295
    @gautamfitnesslook295 Před 7 měsíci +1

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

  • @sreerekhamenon1164
    @sreerekhamenon1164 Před 6 měsíci +1

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

  • @kraw-vo4oy
    @kraw-vo4oy Před 3 měsíci +3

    really helpful and in depth :)

  • @krushnnabaviskar4131
    @krushnnabaviskar4131 Před 29 dny

    Thanks for detailed expalnation.

  • @user-pb5sb1vf1h
    @user-pb5sb1vf1h Před 5 měsíci +1

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

  • @user-rc9mm5uj1g
    @user-rc9mm5uj1g Před měsícem +1

    Great Tutorial thanks Java Techie

  • @naleenyadav
    @naleenyadav Před 7 měsíci +7

    Boss is Back.

  • @vishwaranjansingh6111
    @vishwaranjansingh6111 Před 4 měsíci

    Simple I would say superb explanation

  • @rohanchowdary8511
    @rohanchowdary8511 Před 7 měsíci +2

    these are the best interview questions on java

  • @yatendra__singh
    @yatendra__singh Před 7 měsíci +28

    Rockstar is making some noice in the market ❤

    • @Javatechie
      @Javatechie  Před 7 měsíci +3

      😜😜

    • @karthickgunasekaran3220
      @karthickgunasekaran3220 Před 7 měsíci +1

      Yes rockstar making nice video

    • @devarajk6858
      @devarajk6858 Před 6 měsíci +1

      @@Javatechie I have 3.5 years of experience as Java developer. Is it applicable for me?

    • @Javatechie
      @Javatechie  Před 6 měsíci

      Yes buddy

    • @devarajk6858
      @devarajk6858 Před 6 měsíci

      @@Javatechie thanks 🙏 brother and is this enough or is there a continuation videos?

  • @kralns2868
    @kralns2868 Před 2 měsíci

    Wonderful explained

  • @patrisrikanth
    @patrisrikanth Před 4 měsíci

    Such a wonderful content....

  • @Suraj-dj5rk
    @Suraj-dj5rk Před 7 měsíci +1

    Really very helpful bhaii.. thank you so much❤

  • @user-bq5uv9vb1p
    @user-bq5uv9vb1p Před 7 měsíci

    Yes Basant. Cover With Scenario all topic

  • @ashimasingh5031
    @ashimasingh5031 Před 2 měsíci +1

    Amazing tutorial

  • @harshadathakare5563
    @harshadathakare5563 Před 2 měsíci

    Excellent

  • @punyabikash3624
    @punyabikash3624 Před 2 měsíci +1

    After long time happy to see sir❤

  • @udayagiriveeru1366
    @udayagiriveeru1366 Před 7 měsíci +1

    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.

  • @shubhampatidar6116
    @shubhampatidar6116 Před 7 měsíci

    Again great video , Thanks a lot

  • @d4devotion
    @d4devotion Před 5 měsíci +1

    You earned my subscription because of this video.

  • @user-fq3xv1fr5l
    @user-fq3xv1fr5l Před 5 měsíci +1

    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..

  • @jagrutipatil1020
    @jagrutipatil1020 Před 6 měsíci +1

    As usual the bestest content we can found here☺️

  • @Pradeep-jh7jc
    @Pradeep-jh7jc Před 7 měsíci

    Appreciate this man's efforts. I regularly follow his videos and he makes everything so simple and easy to understand. Thankyou JavaTechie. :D

  • @rashmiranjanswain601
    @rashmiranjanswain601 Před 7 měsíci +1

    It's incredible.Loved your videos.Please implement Fusion auth in Spring Boot.

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      Not aware about fusion auth will definitely check and update

  • @harishgupta1392
    @harishgupta1392 Před 7 měsíci +2

    God of Java. Wish I had this in previous month before my Mastercard interview, I would definitely cracked it.

    • @Javatechie
      @Javatechie  Před 7 měsíci

      No problem it happens i wish good luck for your upcoming interview

  • @saranthoughts9826
    @saranthoughts9826 Před 20 dny +1

    30:38 Compile time exceptions is compiler forcing to developer to handle the exceptions so its called compile time exceptions.

  • @debbh274
    @debbh274 Před 7 měsíci

    Very nice

  • @jean-paulboga8189
    @jean-paulboga8189 Před 6 měsíci

    Great job 👏

  • @ravimane5508
    @ravimane5508 Před 7 měsíci +5

    I really appreciate your videos. Your lectures are useful for experienced candidates. They are explained very deeply and well. Please add more videos. There are multiple people who have channels on CZcams, but yours stands out. You will be the next Javabrains

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Thank you so much for appreciating it buddy 🤗. Keep learning 👍

    • @orangefield2308
      @orangefield2308 Před 7 měsíci

      great video ! it would be helpful if these videos have time or question markers, to get to certain clips, or at least write the questions in the description, awesome channel@@Javatechie

  • @piyushsharma5947
    @piyushsharma5947 Před 6 měsíci

    Thanks alot for the wonderful video! I know you have provided alot of effor t in making this video. It is really helpful. Can I request for a separate pdf notes as well ? It will help us in going through just before an interview. BTW keep bringing more such videos and with notes if possible :)

  • @KD-fc3vq
    @KD-fc3vq Před 7 měsíci

    Hi Sir,
    Please create video on java LTS latest features as well. Since lot of interviewers expect nowadays.

  • @varungudisena9463
    @varungudisena9463 Před 7 měsíci

    very good video

  • @hanumanthram6754
    @hanumanthram6754 Před 7 měsíci +1

    Could you also please create a video on ThreadLocal?

  • @divyavegoti4609
    @divyavegoti4609 Před 7 měsíci +2

    Please make interview series on microservices and thank you for all the great work🎉

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      Yes buddy as part of spring boot interview Q&A only i will continue.

  • @priyagade8788
    @priyagade8788 Před 7 měsíci +1

    Thank you

  • @kukuusah
    @kukuusah Před 7 měsíci +1

    Please make a Vedio on SQL interview questions and answers for 2 years of experience

  • @VaibhavYaramwar-rc7kl
    @VaibhavYaramwar-rc7kl Před 7 měsíci

    I think using ListIterator as well , We can able to modify List Object while iterating it as well. But only catch with ListIterator, Origin List should be created like List listObj = new ArrayList(). Meaning Origine List should not be fixed size List.
    For Example, For below mentioned Example, We will get java.lang.UnsupportedOperationException
    public class FailSafeIterationDemo {
    public static void main(String[] args) {
    List list = Arrays.asList("1","2");
    ListIterator listIterator = list.listIterator();
    while (listIterator.hasNext()) {
    String element = (String) listIterator.next();
    listIterator.add("Z");
    System.out.println(element);
    }
    System.out.println(list);
    }
    }
    But for another similar example, Mentioned as below , It will run perfectly fine without any Exception.
    public class FailSafeIterationDemo {
    public static void main(String[] args) {
    List list = new ArrayList();
    list.add("1");
    list.add("2");
    ListIterator listIterator = list.listIterator();
    while (listIterator.hasNext()) {
    String element = (String) listIterator.next();
    listIterator.add("Z");
    System.out.println(element);
    }
    System.out.println(list);
    }
    }

  • @localhero1938
    @localhero1938 Před 7 měsíci +1

    Thanks for the video brother it helps lot

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Thank you so much brother keep learning 😃

  • @satyabatigoswami1735
    @satyabatigoswami1735 Před 4 měsíci +1

    I am 7 years experienced and find your videos very very useful. Your videos are really cutting edge. Please create some videos on latest features added in new releases of java after version 8. That will really help

  • @yoshitamahajan353
    @yoshitamahajan353 Před 7 dny +1

    Thank u

  • @karthikeyanrm3446
    @karthikeyanrm3446 Před 7 měsíci +1

    Awesome video.. please continue this java questions series as well as Spring-Microservices questions series. Is it possible to give questions in the description?

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Yes definitely i can but i was thinking to share these questions as a separate medium Blog

    • @karthikeyanrm3446
      @karthikeyanrm3446 Před 7 měsíci +1

      @@Javatechie thank you so much Basant. Please share the link because it will be easy to revise - both java and spring boot - Microservices questions. Kindly do complex Microservices scenario based questions.

  • @nikitaparmar1190
    @nikitaparmar1190 Před 6 měsíci +1

    Your technique is excellent and easy to understand. Can you create a series on design patterns in Java? It is an important topic for practice and interviews. I couldn't find any design pattern series on your channel.

  • @gaganverma7304
    @gaganverma7304 Před 7 měsíci +1

    Osm

  • @saumyajoshi-ym2os
    @saumyajoshi-ym2os Před 7 měsíci +4

    Sir how many weeks/months it takes to master java8 and array/string questions to clear written test of service based companies

    • @Javatechie
      @Javatechie  Před 7 měsíci

      One or 2 weeks is enough, i have a few questions already shared in the group just have a look in my channel

  • @sarojgupta8181
    @sarojgupta8181 Před 7 měsíci +1

    finally!!

  • @mericet39
    @mericet39 Před 7 měsíci +1

    If you've been developing in Java so many years, it is possible to know all of this and still flunk the interview questions. For example, I was wondering "Pillar of oops? WTF does THAT mean?" Then when you started to explain, I realised I knew all those concepts but just not the label "pillar of oops"

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Pillars of oops or key component of oops this kind of word usually interviewer used

  • @Srikanth-kq5be
    @Srikanth-kq5be Před 6 měsíci

    Hi basant, if possible can your please make notes of it and please share ppt

  • @chanduyagnesh5501
    @chanduyagnesh5501 Před 5 měsíci

    when catch block is not executing when exception is raised and return 3 only why sir

  • @shariefrana
    @shariefrana Před 7 měsíci +1

    Great videos and excellent presentation, it would be great if the video is split into parts based on questions, so that viewers can skip to the question to which they don't know the answer.

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      People suggest for long videos buddy that's why I uploaded it

    • @orangefield2308
      @orangefield2308 Před 7 měsíci +1

      he's talking about splicing in clickable segments, so you can click a certain topic in the video time mark, overall the video is good thanks@@Javatechie

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      @@orangefield2308 yeah thanks buddy 👍 got it sure i will add timestamps so that it will be segment wise clickable

  • @subba18
    @subba18 Před 7 měsíci +1

    String is Thread-safe inherently.. In your picture it says not thread-safe @55:29

  • @hkk4782
    @hkk4782 Před 4 měsíci

    please add on concurrency interview questions in java

  • @gs8589
    @gs8589 Před 3 měsíci

    56:00 Immutable objects are by default thread-safe

  • @itsnarahari
    @itsnarahari Před 6 měsíci

    @Java Techie Why can't you create questions for unit testing

  • @norulshahlamjohn1140
    @norulshahlamjohn1140 Před 7 měsíci +1

    giving an answer by coding it makes understanding better and deeply engrained by just watching. you sir are a diamond. but when i saw the boilerplate codes in your pojo i know you are an old-fashioned guy lol. also, comparator() is considered 'deprecated' since we are using streams api. do people still use that?

    • @Javatechie
      @Javatechie  Před 7 měsíci

      First of all thank you for your words and BTW I am not an old fashion guy 🤪. It's just interview questions where they will check your basic understanding that's why I have explained the comparator

  • @kamranbagirzade1942
    @kamranbagirzade1942 Před měsícem

    Thanks, helped a lot!

  • @VivekSharma-zb6no
    @VivekSharma-zb6no Před 2 měsíci

    Strings are safe for multithreading, in your video at 55:45, it is shown that they are not thread safe, please correct it

  • @gopisambasivarao5282
    @gopisambasivarao5282 Před 7 měsíci +1

    Hi Basant, waiting for your new videous.Last week we have not seen any new video. Hope this week.😊Appreciate your efforts

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Hello buddy thanks for your interest 😊. Actually I was on vacation and returned today so hopefully next weekend i will start uploading content

    • @gopisambasivarao5282
      @gopisambasivarao5282 Před 7 měsíci

      Thanks Basant. Appreciate your time. God bless you. 🙂👍🙏

  • @biswajitsaha6773
    @biswajitsaha6773 Před 7 měsíci +1

    Hi Basant, where is the link of github repo? i cant find it in description, could you please share it?

    • @Javatechie
      @Javatechie  Před 7 měsíci

      I might have missed the update . will update and notify

    • @biswajitsaha6773
      @biswajitsaha6773 Před 7 měsíci

      @@Javatechie Thank you Sir. Your contents are very helpful

  • @parwezalam7242
    @parwezalam7242 Před 7 měsíci

    Guys I couldn't able to find this code on github anyone please help me

  • @amananand3100
    @amananand3100 Před 6 měsíci

    After preparing from this lecture, will I be able to clear my tech round?????

  • @patnalajahnavi1680
    @patnalajahnavi1680 Před 4 měsíci +1

    String is threadsafe right as it's immutable but the slide shows it's not threadsafe 55:08

  • @spvg3280
    @spvg3280 Před 7 měsíci

    Bro make tutorial to push two project in same github repo

  • @giridharreddy4278
    @giridharreddy4278 Před 24 dny

    Are these questions enough for core Java in interviews

  • @Kashi_Lover
    @Kashi_Lover Před 3 měsíci

    55:34 - As strings are immutable, It is Thread safe. In the comparison table, String is mentioned as Not Thread Safe. Please correct me if I am wrong.

    • @Javatechie
      @Javatechie  Před 3 měsíci +1

      You are correct and it's my mistake.

    • @Kashi_Lover
      @Kashi_Lover Před 3 měsíci +1

      @@Javatechie Thanks. Overall, This playlist is amazing. Even with 5 years of exp in java, such videos are needed to brush-up. Thanks a lot.

  • @purushothamachowdary6340
    @purushothamachowdary6340 Před 5 měsíci +1

    what is the difference between the below 2 statements? both are printing same results..
    System.out.println(s1.intern().hashCode() == s2.hashCode());
    System.out.println(s1.hashCode() == s2.hashCode());

    • @Javatechie
      @Javatechie  Před 5 měsíci

      Could you please first try to understand what the intern method does ?

  • @Coders_World
    @Coders_World Před 28 dny

    2:03:45 does Hashmap Internally uses Array of LinkedList ?

    • @Javatechie
      @Javatechie  Před 28 dny

      It’s linked list

    • @Coders_World
      @Coders_World Před 28 dny +1

      I mean those 16 memory buckets is Array ? Or Different DS ?

    • @Javatechie
      @Javatechie  Před 28 dny

      @@Coders_World each bucket 🪣 point to a singley linked list

  • @rohitd9952
    @rohitd9952 Před 7 měsíci +1

    Can you please make a video on role based authentication and authorisation and also jwt authentication and authorisation using spring boot and spring security 6 latest update

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Please be updated with channel your requested video already available czcams.com/video/NcLtLZqGu2M/video.html

    • @rohitd9952
      @rohitd9952 Před 7 měsíci

      In role based authentication and authorisation I found some are deprecated like csrf(), AuthorizeHttpRequests(),and(),formLogin() in current update it is showing me for removal

    • @rohitd9952
      @rohitd9952 Před 7 měsíci

      I filtered CZcams according to this month on role based authentication and authorisation i didn't find appropriate video on it, kindly help me

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Here is the update change log czcams.com/video/YnhbTlCCVLc/video.html

  • @nitinbhattacharyya8784
    @nitinbhattacharyya8784 Před 7 měsíci +1

    Hey I have a question. How do you stay updated with various changes in SpringBoot over the years?For example in Spring Security we used to use WebSecurityConfigurerAdapter but now we just create a SecurityFilterChain bean. How do do you learn about these changes and then update your knowledge?

    • @Javatechie
      @Javatechie  Před 7 měsíci

      I do follow different blogs and spring official page in telegram and other official resources to keep myself updated

    • @jasminpadaniya8199
      @jasminpadaniya8199 Před 7 měsíci

      Hi@@Javatechie, Can you please share links to these resources like telegram channels and blogs? Thanks in advance

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Telegram: t.me/SpringFrameworkZone
      Blogs do follow to different blogs in medium or just search over Google and follow other resources

  • @niteshpandey8218
    @niteshpandey8218 Před měsícem +1

    you are wrong ,Concurrent Hashmap also contain ,null key value .first he checks and apply method putIfAbsent ,this method not throw nullPointerException. by the way nice Interview questions♥

    • @Javatechie
      @Javatechie  Před měsícem

      Thanks buddy 😊. I will check and update you

  • @otoS97
    @otoS97 Před 26 dny

    1:01:14 DET 🗣

  • @d4devotion
    @d4devotion Před 5 měsíci +2

    One correction, when you explained String vs StringBuffer vs StringBuilder, mistakenly String was mentioned as Not-Thread-Safe, but it is.

    • @Javatechie
      @Javatechie  Před 5 měsíci

      Yes my bad 😔

    • @d4devotion
      @d4devotion Před 5 měsíci +1

      @@Javatechie nvm, you are going great, loved the way you structured the overall content, the best thing I liked is going through actual example at the same time.

  • @abishasherlin5896
    @abishasherlin5896 Před 7 měsíci +1

    There is so many videos in your CZcams.. Please put one video that how to watch orderly for a fresher..

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      Thank you for your interest in learning, buddy. It's a bit challenging for me to arrange my videos in a specific sequence since I've uploaded numerous videos covering different technologies. However, I can offer a workaround. Simply use the search bar to filter for videos that match your requirements, and you'll certainly find the results you need.

    • @abishasherlin5896
      @abishasherlin5896 Před 7 měsíci +1

      Please put core java interview questions for fresher level only..

  • @SaurabhKumar-dj5vq
    @SaurabhKumar-dj5vq Před 5 měsíci +1

    Sir try block execute like if else

  • @shantohossain1372
    @shantohossain1372 Před 6 měsíci +1

    55:59 isn't string is also thread safe? on the slide u r showing string is not thread safe!

    • @Javatechie
      @Javatechie  Před 6 měsíci

      It’s my mistake buddy please ignore

  • @TheTravellerVlogs99
    @TheTravellerVlogs99 Před 7 měsíci +1

    One more- We can overload static method. Right.

  • @bhargavi4557
    @bhargavi4557 Před 7 měsíci

    I have asked a question to get employee namesand age>30 ,emp id between 50 and 70
    I was able to answer first two conditions. Can you help me witg empid between 50and 70
    elist. Stream().map( Employee::getnames).filter(x->x.getAge>30)
    Can you help with id condition

    • @praticksharma4820
      @praticksharma4820 Před 7 měsíci +2

      First filter it then map it
      filter (x->x.salary>30 && x.salaryy.name)

    • @bhargavi4557
      @bhargavi4557 Před 7 měsíci

      @@praticksharma4820 condition between 50 and 70 is for emp ida

    • @bhargavi4557
      @bhargavi4557 Před 7 měsíci

      @@praticksharma4820 How to find the emi ids from 50 to 100
      I have tried
      Elist.stream(). filter (x->x getId()>50 && getId()>100).forEach(s->syso(s));
      Its not working can you help me

  • @abhranilbhattacharjee1488
    @abhranilbhattacharjee1488 Před měsícem

    String class is immutable and thus thread safe!

  • @harshsrivastav2197
    @harshsrivastav2197 Před 6 měsíci +1

    Strings are thread safe, right?

    • @Javatechie
      @Javatechie  Před 6 měsíci

      Yes you are correct please ignore my word

  • @uvanana.
    @uvanana. Před 7 měsíci +1

    Is your playlist is enough for Capgemini interview sir

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      Yes it's more than enough for any company irrespective of service or product base only for core Java Q&A

    • @uvanana.
      @uvanana. Před 7 měsíci +1

      @@Javatechie Thank you sir , and for Java interview coding do you have a playlist

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      Yes please filter with keyword " programming " you will get a couple of videos in my channel

  • @maddipatlamadhura1500
    @maddipatlamadhura1500 Před 19 dny +1

    is there PDF available ?

    • @Javatechie
      @Javatechie  Před 19 dny

      No pdf , even didn't remember whether it's there in my machine or not

  • @Jeetu_24
    @Jeetu_24 Před 3 měsíci +1

    String is a thread...right but in screen(55:16 mnts) it is sowing not thread safe ?

  • @bhargavi4557
    @bhargavi4557 Před 7 měsíci +1

    How to get employee ids from 50 to 70 using streams

    • @Javatechie
      @Javatechie  Před 7 měsíci +1

      Use filter

    • @bhargavi4557
      @bhargavi4557 Před 7 měsíci

      @@Javatechie How to find the emi ids from 50 to 100
      I have tried
      Elist.stream(). filter (x->x getId()>50 && getId()>100).forEach(s->syso(s));
      Its not working can you help me

  • @JavaWedsPython
    @JavaWedsPython Před 5 měsíci

    For such more videos: youtube.com/@JavaWedsPython?si=0I6KI7AaWX7S0Ltz

  • @Krishna-iu4zp
    @Krishna-iu4zp Před 3 měsíci +1

    You have answered wrongly to question 20, in question 19 you mentioned String is thread safe but in question 20 you said it is thread not safety

    • @Javatechie
      @Javatechie  Před 3 měsíci

      Yes it's my mistake and I apologize for it in previous many comments 😜

  • @narendragupta6114
    @narendragupta6114 Před 5 měsíci +1

    you have not explain Static method hiding in good way, because message was same in both class

    • @Javatechie
      @Javatechie  Před 5 měsíci

      You can change the sopln statement. I will be happy if viewers understand the concept rather than the example statement

  • @RealSlimShady-um6gf
    @RealSlimShady-um6gf Před 7 měsíci

    Basant : which company are you working in?

  • @animesh2411
    @animesh2411 Před 2 měsíci +1

    Say --> Compilation error ❌ Crying ✅

  • @abhishekgwal878
    @abhishekgwal878 Před 6 měsíci

    At 55:05 Correction - String is thread safe.

  • @praveenkrmehta4035
    @praveenkrmehta4035 Před 7 měsíci +1

    How can I contact you....in your manytomany bidirectional implementation.....there is flaws in it.....with the same code try to save the data again ...not happening because of @JsonmanagedReference..... kindly check and update

    • @Javatechie
      @Javatechie  Před 7 měsíci

      javatechie4u@gmail.com please connect to this email. Sure i will check and update you