Java Interview Questions and Answers - The 4 Hours Guide | ( Demonstrated with Live Examples)

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024

Комментарии • 69

  • @JavaGuides
    @JavaGuides  2 года назад +18

    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

    • @manasanayak28
      @manasanayak28 4 месяца назад

      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.

  • @mikedelta658
    @mikedelta658 2 года назад +8

    For such contents, I don't even skip the ads, because those guys should earn! Thank you Bro!

    • @ShawAnandVlog
      @ShawAnandVlog Год назад

      Totally agreed bro... His contents are very useful & easy to understand for everyone 👌👏..

  • @mohammedsajeerkc5370
    @mohammedsajeerkc5370 Год назад +4

    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

  • @mohamedsayed8697
    @mohamedsayed8697 2 года назад +7

    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.

  • @mabeleain3320
    @mabeleain3320 Год назад +2

    Really great content ever! Thanks Ramesh, I've learnt a lot.

  • @rhehebbfb6386
    @rhehebbfb6386 2 года назад +6

    Absolutely nice content.. It would be so much helpful if u make more such videos that will strengthen the basics of java language..

  • @mihaiviteazu7296
    @mihaiviteazu7296 2 года назад +1

    Great video! Watch and rewatch. Thank you for creating useful content👍👍👍

  • @PunamShinde-lr7ky
    @PunamShinde-lr7ky 5 месяцев назад +1

    Thank you so much sir , This is very helpful for me .

  • @rinaprajapat18
    @rinaprajapat18 Год назад

    Best tutorial for core java ever.. thanks sir👏

  • @viswanathchintala8215
    @viswanathchintala8215 2 года назад

    wow great explanation, really learnt so much.
    Thanks brother for your great patience and cool explanation

  • @stevewilsonraj
    @stevewilsonraj Год назад +1

    thank you so much .... best content !!! ❤❤

  • @sankarsubramanian6312
    @sankarsubramanian6312 Год назад

    Great content, thank you so much !

  • @y.c.breddy3153
    @y.c.breddy3153 Год назад

    Good efforts my dear brother

  • @darshfify
    @darshfify Год назад

    very useful content! thank you!

  • @dvoorganisation459
    @dvoorganisation459 Год назад

    Thanks a ton for this Video !

  • @rhehebbfb6386
    @rhehebbfb6386 2 года назад +6

    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?

    • @bikashdatta9023
      @bikashdatta9023 2 года назад

      3:38:56 If you got the answer, please explain.

    • @rhehebbfb6386
      @rhehebbfb6386 2 года назад +5

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

    • @bikashdatta9023
      @bikashdatta9023 2 года назад

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

    • @rhehebbfb6386
      @rhehebbfb6386 2 года назад +2

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

    • @bikashdatta9023
      @bikashdatta9023 2 года назад

      @@rhehebbfb6386 Thanks a lot😁

  • @arjunchaurasiya6709
    @arjunchaurasiya6709 2 года назад

    Thanks a lot ,this is very helpfull for us..........

  • @chavez46711
    @chavez46711 2 года назад

    So nice thanks so much, Greetings from Mexico City.

  • @suntoshaqula
    @suntoshaqula 19 дней назад

    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

  • @sireeshathandu7437
    @sireeshathandu7437 2 года назад

    Great video, good for brushing up before going to interview, thank you for your efforts

  • @boraville7406
    @boraville7406 Год назад +1

    Dhyanyawad ramesh sir @RameshFadatare

  • @srr152
    @srr152 2 года назад

    very useful content👌

  • @rajpradeep1
    @rajpradeep1 2 года назад +1

    Please make a video for Oops concepts ..

  • @subramanianchenniappan4059
    @subramanianchenniappan4059 2 года назад

    Thanks a lot . It helps for interviews

  • @shuvampargal4754
    @shuvampargal4754 Год назад

    Nice content and coverage, but u missed exceptional handling and threading questions

  • @naveenvp1362
    @naveenvp1362 Год назад

    Thanks for such a clear explaination.

  • @user-0987-a
    @user-0987-a Год назад

    big thanks,

  • @andythakar
    @andythakar 2 года назад

    great video.

  • @1stnamelastname24
    @1stnamelastname24 2 года назад

    Nice video sir

  • @nguyenhavu7542
    @nguyenhavu7542 2 года назад

    Thanks guy so much !

  • @meriyemelhajoui4083
    @meriyemelhajoui4083 Год назад

    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 !

  • @sovrinfo
    @sovrinfo 2 года назад

    Thank you a lot!

  • @meenajadhav07
    @meenajadhav07 2 года назад

    Very useful 👌

  • @funcoding1797
    @funcoding1797 2 года назад

    great. thanks

  • @suryas2845
    @suryas2845 2 года назад

    Thanks a lot sir😍

  • @AnkitKumar-uw2bh
    @AnkitKumar-uw2bh 2 года назад

    Thank you now I'm going to watch whole video according to comment 😂

  • @Georgianlegend
    @Georgianlegend 8 месяцев назад

    thank you 🥰

  • @eversonb9477
    @eversonb9477 2 года назад

    Thank so much!!! =D

  • @bhogademv
    @bhogademv 2 года назад

    Hey it helped me to brush up concepts

  • @RP-16
    @RP-16 2 года назад +1

    Amazing video but would be nice if you used dark mode. Hard to watch in the dark.

    • @MohammadImran-rn1vg
      @MohammadImran-rn1vg 2 года назад

      Decrease brightness of your screen.
      It may help a little bit.

  • @kamandla1266
    @kamandla1266 2 года назад

    Hi Ramesh
    Thank you for this content.
    Any plan to provide design patterns

  • @mohanreddy6355
    @mohanreddy6355 2 года назад

    Please upload complete Java course

  • @nareshe9906
    @nareshe9906 Год назад

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

  • @hossamaddin7980
    @hossamaddin7980 2 года назад

    thanks Ramesh

  • @gnair9064
    @gnair9064 Год назад

    The derived foo and base foo answer is wrong ? It's not printing derived but base time 3.38

  • @ranjithdmr237ranjith6
    @ranjithdmr237ranjith6 2 года назад

    Sir for fresher what are topics to known well about java

  • @drdominance9392
    @drdominance9392 2 года назад

    Can i get notes for this video?

  • @1stnamelastname24
    @1stnamelastname24 2 года назад

    Could u plz post a video on java 8 features

    • @JavaGuides
      @JavaGuides  2 года назад +1

      Java 8 features explained briefly in interview video

    • @JavaGuides
      @JavaGuides  2 года назад +1

      Check out Java 8 tutorial on this channel to learn Java 8 features

    • @1stnamelastname24
      @1stnamelastname24 2 года назад

      @@JavaGuides ok... I will... thanks a lot

  • @prof.mangabhai
    @prof.mangabhai 10 месяцев назад

    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?

  • @rahulzope4240
    @rahulzope4240 2 года назад

    RUclips se kitna payment mil rHa, hai yaar? I m jobless still, total 8 years gap, but I know spring boot, also angular ?

  • @Suirady
    @Suirady 5 месяцев назад

    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!