Java Interview Questions | Java Program Solving | Core & Advance Java | Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • 🔰Enroll for Advanced Certification in Java Full Stack: tinyurl.com/Jav...
    Friends today we have "Pooja Patil", a passionate Java Developer and Electrical Engineering Graduate from Gangamai College of Engineering, Dhule(2022). Her CGPA is 8.72. If you're interested in Mastering Core Java concepts, diving into the world of OOPs, the Collection Framework, Exception Handling, and Array Manipulation, you're in the right place!
    But that's not all! Pooja is currently working on an exciting Spring Boot & Hibernate Project, "CRUD application" Follow along as she takes you on a journey through the development process, showcasing how to apply Java programming concepts to build a practical and functional application.
    Ensure you watch this video until the end for essential information to aid you. If there are any inquiries, don't hesitate to drop a Comment, and we'll be delighted to offer assistance.
    🆓𝐋𝐞𝐚𝐫𝐧 𝐰𝐢𝐭𝐡 𝐮𝐬 𝐨𝐧 𝐓𝐡𝐞𝐊𝐢𝐫𝐚𝐧𝐀𝐜𝐚𝐝𝐞𝐦𝐲 𝐚𝐩𝐩 - 𝐚𝐜𝐜𝐞𝐬𝐬 𝐨𝐮𝐫 𝐞𝐝𝐮𝐜𝐚𝐭𝐢𝐨𝐧𝐚𝐥 𝐯𝐢𝐝𝐞𝐨𝐬 𝐚𝐧𝐝 𝐣𝐨𝐢𝐧 𝐨𝐮𝐫 𝐜𝐨𝐦𝐦𝐮𝐧𝐢𝐭𝐲!
    bit.ly/thekira...
    🔰𝐉𝐨𝐢𝐧 𝐨𝐮𝐫 𝐟𝐫𝐞𝐞 𝐝𝐞𝐦𝐨 𝐜𝐥𝐚𝐬𝐬 𝐚𝐧𝐝 𝐮𝐧𝐥𝐨𝐜𝐤 𝐭𝐡𝐞 𝐦𝐚𝐠𝐢𝐜 𝐨𝐟 𝐜𝐨𝐝𝐢𝐧𝐠! 🚀
    bit.ly/jbkgshub7
    📚About the Course
    Java Full Stack Development involves developing both the client-side (front-end) and server-side (back-end) parts of a web application. It requires using Java programming language for server-side development and front-end technologies such as HTML, CSS, and JavaScript, as well as frameworks like Angular.
    📢Who should take this course?
    ✅Anyone who is passionate about full-stack web development and has a bachelor's degree
    ✅Software development professionals seeking to enhance their careers
    ✅IT individuals with a bachelor's degree-seeking to switch to full-stack development
    ✅Project managers and product managers are aiming to upgrade their skills
    ✅Anyone who is interested in starting a full-stack developer portfolio
    Watch More Videos:
    ➡️MERN Stack: The Ultimate Guide for Beginners | Lecture #1: • Video
    ➡️Java FullStack Developer Roadmap: • JAVA Full Stack Develo...
    ➡️Become a High-Demand PYTHON Full Stack Developer in 2024 🔥: • 🔥 Fulfill Market High-...
    #thekiranacademy #javabykiran #loopsinjava #while #dowhile #forloops
    ______________________________________________________________________________
    ✔️𝗧𝗶𝗽𝘀 𝗙𝗼𝗿 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄:- bit.ly/3h05uwq
    ✔️𝐖𝐚𝐭𝐜𝐡 𝐎𝐮𝐫 𝐎𝐭𝐡𝐞𝐫 𝐕𝐢𝐝𝐞𝐨𝐬:- playlist :- bit.ly/3W4rUMF
    ✔️𝗠𝗼𝗰𝗸 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝟮𝟬𝟮𝟯:- bit.ly/40JGGJY
    ✔️𝗪𝗮𝘁𝗰𝗵 𝗢𝘁𝗵𝗲𝗿 𝗦𝘂𝗰𝗰𝗲𝘀𝘀 𝗦𝘁𝗼𝗿𝗶𝗲𝘀: bit.ly/Success...
    ✔️𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹𝘀: bit.ly/softwar...
    ✔️𝐋𝐨𝐠𝐢𝐜 𝐁𝐮𝐢𝐥𝐝𝐢𝐧𝐠 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐬: bit.ly/3FAYmiK
    ______________________________________________________________________________
    𝐎𝐧𝐥𝐢𝐧𝐞 - 𝐎𝐟𝐟𝐥𝐢𝐧𝐞 𝐓𝐫𝐚𝐢𝐧𝐢𝐧𝐠 & 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧:
    📱𝗖𝗼𝗻𝘁𝗮𝗰𝘁 𝗨𝘀:- 9075 777 123
    🌐The Kiran Academy - thekiranacadem...
    🌐Java By Kiran - www.javabykira...
    -----------------------------------------------------------
    👉About The Kiran Academy
    We are an interactive and 𝗹𝗶𝘃𝗲 𝗲-𝗹𝗲𝗮𝗿𝗻𝗶𝗻𝗴 platform as well as an 𝗼𝗳𝗳𝗹𝗶𝗻𝗲 platform.
    Learn more about The Kiran Academy: thekiranacadem...
    🔺𝗦𝗨𝗕𝗦𝗖𝗥𝗜𝗕𝗘 to this channel, and press the Bell🔔Icon to get another informative video
    📢📢𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝘄𝗶𝘁𝗵 𝐮𝐬
    📌𝗟𝗶𝗻𝗸𝗲𝗱𝗜𝗻 - / javabykirantraining
    📌𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦- / javabykiran
    📌𝐟𝐚𝐜𝐞𝐛𝐨𝐨𝐤- / javabykiran
    📌𝐕𝐢𝐬𝐢𝐭- www.javabykira...
    📌𝐕𝐢𝐬𝐢𝐭- thekiranacadem...
    📌𝐀𝐩𝐩- bit.ly/thekira...
    𝙏𝙝𝙖𝙣𝙠 𝙔𝙤𝙪 😇 𝙁𝙤𝙧 𝙒𝙖𝙩𝙘𝙝𝙞𝙣𝙜...
    #kiransir #javabykiran #jobs #freshers #placements #salary #javainterviewQuestionsanswers #placementQuestions #besttraining #java #testing #Freshers #onlineclasses #offlineclasses #hybridcalsses #thekiranacademy

ความคิดเห็น • 97

  • @TheKiranAcademy
    @TheKiranAcademy  4 หลายเดือนก่อน +1

    Data Structures and Algorithms (DSA) Full Series- th-cam.com/play/PLQU_Gzt0f8XSsX1Sxzpj0IiNpEXxd9FcF.html&si=iCYR28kiDKtBMaao
    👉Fill Out The Form To Schedule Your Offline Mock: forms.gle/TMdk8sFZbiThWabK7
    🔰𝐉𝐨𝐢𝐧 𝐨𝐮𝐫 𝐟𝐫𝐞𝐞 𝐝𝐞𝐦𝐨 𝐜𝐥𝐚𝐬𝐬- bit.ly/jbkgshub7

  • @chandankumarsingh4753
    @chandankumarsingh4753 ปีที่แล้ว +27

    Awesome! As a fresher, that too from a non-IT background, Pooja has answered this mock interview with tremendous effect. I was really inspired by her. Thank you Kiran sir for motivating your students in such a manner.

  • @GaneshNarangale
    @GaneshNarangale ปีที่แล้ว +23

    Kiran sir's motivating nature which gives turning point to no. of student's career , the maximum number of students are from small cities, I'm one of them , Thanks Kiran sir and JBK💌

  • @AadiandJava1705
    @AadiandJava1705 ปีที่แล้ว +12

    Very nice interview sir this will definitely help me and many more students. You are my role model and I follow you because there is so much to learn from you. Keep guiding Sir Thank you so much Sir 💝

  • @mukulsaini2961
    @mukulsaini2961 ปีที่แล้ว +3

    23:05 the girl is correct 💯 ,it will print 2222 because both class is different, i don't know why sir say no .🙂

  • @akashtanajigurav8226
    @akashtanajigurav8226 7 หลายเดือนก่อน +4

    21:30
    No, if class A has a method m1 that is declared as final, it means that the method cannot be overridden by any subclass, including class B. Therefore, class B cannot access or modify the implementation of the m1 method from class A. When a method is declared as final, it effectively prevents any subclass from altering its behavior, ensuring that the method's functionality remains consistent across all subclasses. However, class B can still inherit other non-final methods and variables from class A, but it cannot override the final method m1.

    • @candy_crussh
      @candy_crussh 6 วันที่ผ่านมา

      method m1 of class A is not final so Class B can override n

  • @asmitsingh5326
    @asmitsingh5326 ปีที่แล้ว +3

    Great knowledge but seems like Chatur from 3 idiots 26:51
    But Kiran sir made the interview look so easy by giving the answers and boosting confidence of the candidate

  • @amirkhansk0911
    @amirkhansk0911 ปีที่แล้ว +7

    this student is much aware of all topics

  • @samitinjaymishra
    @samitinjaymishra ปีที่แล้ว +4

    Great sir ❤ .But at the end the code was more efficient when i start from 0 and i+=5 because the time complexity will less than i++ code because condition will be checked for every value of i ,I think jump 5 at once is good and efficient or what? If you can provide any suggestions then it would be helpful for me.

  • @abhiii777
    @abhiii777 7 หลายเดือนก่อน +3

    36:11
    I think according to question she need to put scanner then
    for(int i=1;i

  • @kupendra9082
    @kupendra9082 ปีที่แล้ว +7

    36:09
    It is my answer for ur question is this correct
    public class A {
    public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    System.out.println("Enter num: ");
    int n = sc.nextInt();
    for (int i = 0; i < n; i++) {
    System.out.println(5 * i);
    }
    sc.close();
    }
    }

  • @TechtalkAi2762
    @TechtalkAi2762 ปีที่แล้ว +3

    Question 😮 you didn’t ask her
    Why variables called attributes and functions called methods in class?
    Why?

  • @DeepakGurumurthyIyer
    @DeepakGurumurthyIyer 8 หลายเดือนก่อน +2

    Kiran you are the best interviewer, you ask questions and if they are not sure about the answer you educate them. Rare and nice quality.

  • @sihi__
    @sihi__ ปีที่แล้ว +6

    Anybody please mention the topics to learn in java as a fresher including API's and frameworks..

  • @TheKiranAcademy
    @TheKiranAcademy  ปีที่แล้ว +5

    Java FullStack Developer Roadmap: th-cam.com/video/dvBeUvwUZHQ/w-d-xo.html
    🔰𝐉𝐨𝐢𝐧 𝐦𝐲 𝐟𝐫𝐞𝐞 𝐝𝐞𝐦𝐨 𝐜𝐥𝐚𝐬𝐬 𝐚𝐧𝐝 𝐮𝐧𝐥𝐨𝐜𝐤 𝐭𝐡𝐞 𝐦𝐚𝐠𝐢𝐜 𝐨𝐟 𝐜𝐨𝐝𝐢𝐧𝐠! 🚀
    bit.ly/jbkgshub7

  • @No_Namee111
    @No_Namee111 9 หลายเดือนก่อน

    Sir, I have recently joined a product based company based on Java. They gave me training of c# for 8 days. And assigned me a single handy project. I am the only person on this project, my senior team is not as supportive as expected. This is disappointing me. Please guide 😔

  • @farziikhan8917
    @farziikhan8917 10 หลายเดือนก่อน

    Ok let answer my question that what is difference bw abstraction and encapsulation in detail with real life example
    Edit: Don't answer me from chatgpt due to I search it on this question alot but I can't find the satisfied answer

  • @leila595
    @leila595 11 หลายเดือนก่อน

    No offence, but I cannot understand half the words you're saying. Very frustrating.

  • @Message719
    @Message719 10 หลายเดือนก่อน

    Iam also learn java in pankaj sir academy in bangalore..
    What if I answer in Interview when I. Don't know the ans?

  • @AbhishekKumar-ob5kj
    @AbhishekKumar-ob5kj ปีที่แล้ว +2

    why multiple inheritance allowed in c++ using class but not in java using class

    • @abhayrana4955
      @abhayrana4955 ปีที่แล้ว +2

      in c++ you can use virtual functions to allow the overriding and not define the implementation of the method in the parent class , while in case of java there is no concept of virtual methods , though you can have abstract methods in abstract classes , but java do not allow the multiple inheritance by taking any chances of error(in case concrete methods are there having implementation), as by using interfaces all the methods are guaranteed to be pure virtual so if their implementation is written in the child class only (by overriding) then there is no problem of ambiguity that's why it can be done using interfaces.

  • @dkprashanth2991
    @dkprashanth2991 ปีที่แล้ว +1

    Superrr🎉🎉🎉 I got some 4 topics information from ur video

  • @vaibhavbarade673
    @vaibhavbarade673 11 หลายเดือนก่อน

    I saw in print statement doesn't have semicolon how it will compile? Sop(1111)

  • @sravanisingh9326
    @sravanisingh9326 ปีที่แล้ว +2

    Please keep these movk these are useful

  • @newtoyoutube9040
    @newtoyoutube9040 ปีที่แล้ว

    Sir I am 2018 pass out civil branch,can I change my career towards it

  • @PoliticalTruth1
    @PoliticalTruth1 ปีที่แล้ว +1

    i am sorry fo that sir
    you said sir we can initialize the final variable with the help of class constructor but it is not possible
    we can not initialize the final variable by using constructor if we will try this tyhan we will be getting compile time error. you can check it in you video timing at 17:36
    if you want than i can tell how to initialize the final variable in another way.
    but no worry sir you are great teacher i respect you,
    but sometime anyone can mistake because we are human being na sir that's why but no worry.
    Again i am saying sorry for that sir.

    • @PoliticalTruth1
      @PoliticalTruth1 ปีที่แล้ว +1

      Sir am i right or wrong sir please tell me

    • @TheKiranAcademy
      @TheKiranAcademy  ปีที่แล้ว +1

      package com.javabykiran.Final;
      public class A {
      final B b; // NO ERROR as we have. //done the initialisation in constructor
      final int x;
      A(){
      b =new B();
      x=28;
      }
      }
      class B {
      }

    • @TheKiranAcademy
      @TheKiranAcademy  ปีที่แล้ว +1

      no need to worry we all are human beings.

  • @jirikaczur4714
    @jirikaczur4714 8 หลายเดือนก่อน

    Tried to watch it but l don't understand this guy at all

  • @ynkumarnitin
    @ynkumarnitin 9 หลายเดือนก่อน

    at 22:48 , she is correct, didn't get any explanation

  • @ayushgour9790
    @ayushgour9790 ปีที่แล้ว +8

    you are a great teacher and my humble request to you kiran sir please provide us free course you will be blessed by god i know nothing is free in this world but if you are giving half knowledge so you also can provide us full videos

  • @RealSlimShady-um6gf
    @RealSlimShady-um6gf ปีที่แล้ว

    You said interviewer will screw you up to this girl

  • @abhiramguguloth0278
    @abhiramguguloth0278 10 หลายเดือนก่อน

    sir why wont you provide the same things for python???????

  • @xavier4107
    @xavier4107 10 หลายเดือนก่อน +1

    Super & very helpful questions

  • @rajatkumarmahata4127
    @rajatkumarmahata4127 7 หลายเดือนก่อน

    There is no global in Java is called instance

  • @darshanjadhav3665
    @darshanjadhav3665 ปีที่แล้ว

    Sir I'm from nonit please suggest me can i get a job in IT

  • @Pradeep-ut4hh
    @Pradeep-ut4hh ปีที่แล้ว

    I think all these trick questions should not be a parameter to hire students, maybe there should be a scenario and inteviewer should ask how the inteviewee would approach or maybe focus on how efficient code the interviewee writes, or focus on oops concepts and few imoprtance on trick questions like static and what will the value print all those.

  • @myWorldd860
    @myWorldd860 9 หลายเดือนก่อน

    Someone else is writing the code🧐 33:50

  • @rishabhgupta1964
    @rishabhgupta1964 ปีที่แล้ว +1

    To hum kya kra

  • @gevariyameetb
    @gevariyameetb 8 หลายเดือนก่อน +1

    Did she get good placement ? I have one vacancy i would like to hire her we can offer upto 15ctc.

  • @SheetalSharma-d9i
    @SheetalSharma-d9i 10 หลายเดือนก่อน

    make the same for Web development

  • @sankhasuvraghatak
    @sankhasuvraghatak ปีที่แล้ว

    Sir can the resume be of more than 1 pages?
    As i saw her resume is of 2 pages, that's why I'm asking

  • @vishalnannaware8557
    @vishalnannaware8557 5 หลายเดือนก่อน

    her knoweldge is good ...

  • @amankumar-rb6su
    @amankumar-rb6su ปีที่แล้ว +4

    It's a great 👍 experience..by seeing this ❤ thankyou...make more series of java mocks

  • @MgM-zf2pw
    @MgM-zf2pw ปีที่แล้ว

    please, we need interview for python developer

  • @deepikamehendiartist9285
    @deepikamehendiartist9285 4 หลายเดือนก่อน

    Where is your coaching

    • @TheKiranAcademy
      @TheKiranAcademy  4 หลายเดือนก่อน

      In Pune For More Details Contact Us on 9075 777 123

  • @sheshkumarroy8124
    @sheshkumarroy8124 ปีที่แล้ว

    5 to 10 years experience ke liye mock interview start kijye sir

  • @lastwish6428
    @lastwish6428 ปีที่แล้ว +1

    Link for part 2 pin in comments section

  • @thaneshwaryadav1135
    @thaneshwaryadav1135 ปีที่แล้ว +1

    sir i waiting second part please upload

  • @komaldandge4757
    @komaldandge4757 ปีที่แล้ว +1

    Thank you sir 👍 for most important questions of core java .

  • @aman-oza108
    @aman-oza108 ปีที่แล้ว +1

    Great 👍

  • @pratik.784
    @pratik.784 ปีที่แล้ว

    Photo mein alag asli mein alag 😢

  • @krish2464
    @krish2464 ปีที่แล้ว +1

    amazing sir

  • @bhojpuriyadance620
    @bhojpuriyadance620 11 หลายเดือนก่อน

    Hacker Hai bhai Hacker😂

  • @AnadiHirpara
    @AnadiHirpara ปีที่แล้ว +1

    sir There are one doubt at 14:17 you say If class is Final then automatically the method of that class is become final we can't override it...
    But it's totally wrong because Each method in a final class can be individually declared as final or not. it is not a requirement for all methods in a final class to be final.
    please justify this doubt..

    • @samarendrasingh1456
      @samarendrasingh1456 ปีที่แล้ว

      If class is final then we cannot extend it
      And if method is final we cannot override it
      If variable is final we cannot reinitialise it.

  • @RupeshYadav-kt5dv
    @RupeshYadav-kt5dv ปีที่แล้ว +1

    Voice is very slow

    • @TheKiranAcademy
      @TheKiranAcademy  ปีที่แล้ว +2

      Thank you for your feedback. We will take it into consideration and strive to improve in the future.😊

  • @evolverse858
    @evolverse858 ปีที่แล้ว +2

    21:31 we can't call m1 method cuz main method is static and m1 method is non static method

    • @CHALLENGESTORY
      @CHALLENGESTORY ปีที่แล้ว +1

      So for that reason he has created object of the class, so calling should be possible, unless it is not in other package.

  • @kiranjaiswal4330
    @kiranjaiswal4330 8 หลายเดือนก่อน

    Nice 👌👌👌

  • @kshitijofthejune
    @kshitijofthejune ปีที่แล้ว

    Very helpful.. I was pausing in between and trying to answer and helped me in quick revision.. Thanx

  • @nrupal_gtx_gamer9594
    @nrupal_gtx_gamer9594 7 หลายเดือนก่อน

    Great interview

  • @CHALLENGESTORY
    @CHALLENGESTORY ปีที่แล้ว

    23:09 why the calling is not possible?

    • @SriChaitanyaGandhari
      @SriChaitanyaGandhari หลายเดือนก่อน

      @@CHALLENGESTORY if the 3 classes are in same package then we can access them but if they are in different packages then we get compile error

  • @_sarthakmisal
    @_sarthakmisal 11 หลายเดือนก่อน

    38:06 😂

  • @pythondeveloper766
    @pythondeveloper766 ปีที่แล้ว

    It really helpful !!

  • @ronakparjapati2264
    @ronakparjapati2264 10 หลายเดือนก่อน

    Amazing

  • @Ramaswami_vlogs
    @Ramaswami_vlogs ปีที่แล้ว

    a very useful real time java interview process i have ever seen tq so much TKA

  • @guesswhoiam784
    @guesswhoiam784 ปีที่แล้ว +21

    I will give 6.5 / 10 to this girl.

    • @AnadiHirpara
      @AnadiHirpara ปีที่แล้ว +22

      bhai jis tarah se vo logic implement kar rahi hai i think 9/10 hona chahiye

    • @TheKiranAcademy
      @TheKiranAcademy  ปีที่แล้ว +4

      @@AnadiHirpara❤

    • @Lakshmankablog
      @Lakshmankablog ปีที่แล้ว

      ​@@AnadiHirpara😅

    • @kshitijdwivedi1282
      @kshitijdwivedi1282 ปีที่แล้ว

      @@AnadiHirpara correct

    • @RealSlimShady-um6gf
      @RealSlimShady-um6gf 10 หลายเดือนก่อน

      Don't expect freshers to learn in 1 hour. Over the period of time they learn with exposure. Their basics must be strong

  • @विचारप्रतापी
    @विचारप्रतापी ปีที่แล้ว

    Great......❤

  • @sumitpal2515
    @sumitpal2515 ปีที่แล้ว +1

    Very informative video

  • @AxissehSammy
    @AxissehSammy 11 หลายเดือนก่อน

    Faculty must explain diamond problem. Any reason to tell her to close other projects to start with a new project.
    Min/Max is not using Streams API which is just 1 line instead of what she has coded.
    All these variables can be instance variables only. You cannot declare local variable with public final int xx = 10; inside a method? Also declaring them inside method for
    local variables
    public final int xx = 10;
    static int yy = 20;
    final static int zz = 1111; will give compile exceptions.
    final int aa; will compile but that is a dead variable. if used then you will get compile exception as it needs to be initialized
    new A().mx() will work instead of compile error at mx().

  • @endermanindia4948
    @endermanindia4948 11 หลายเดือนก่อน

    Her knowledge was mind blowing 😮

  • @guesswhoiam784
    @guesswhoiam784 ปีที่แล้ว

    Waiting for part 2 please upload fast ❤❤❤❤