Java Interview Questions | Advance Java | SQL | Spring Boot | Hibernate | Part 1 | By Kiran Sir

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Let's uh show some important message to user and it's mandatory to show that execution to build then I will use final plus right but you are very correct in that okay that was the my style of giving answers your style might do it okay and I'm not saying that you are wrong at all with a chance I can be a great team player sharing my knowledge and my experiences and I can even teach my teach the things I know to any people who I wanted or bits of orbits of electrons and these orbits varying numbers uh according to Natural Foods and is directed yeah how to make that director I can use the battery you can use battery right okay oh hello everyone she's from Electronics background and we'll see how she performs videos foreign [Music] hello welcome thank you sir for giving me this opportunity great so once you receive call you came from you stay in the Bible right you are originally from Pune yes I was actually located in one day I shifted seven years ago okay okay I can see in your resume that you did your 10 from then HSC from nmv high school then great let's start with some questions firstly I want you to brief yourself yes sir my full name is graduate and I did my graduation uh recently I did my graduation and currently I am pursuing my full stack development course at Java by Kiran and I am done with my uh core Java and advanced Java model I'm pursuing the food stack uh fronted part of my course and uh yes uh nowadays I'm working on a project it's a springboard project uh it is it demonstrates a hotel management system and in this project I am used apis that uh uh demonstrate how manager database we can how we can manipulate that data on manager data and such a staff data likewise perfect perfect so I can understand what you worked on okay so this is good good thing you told that what your project is and what you are working on okay so you're doing angular right now yes what do you know in angular sir in angular I'm I'm I've just started your newbie in the angular but still something okay at least some lectures you might have attended yes uh aguiler is a framework it is used to develop a web-based applications and uh to develop front-end part of that applications and we can connect these part to our uh backend applications such as Java to maybe python or any can anything it can be so uh in in angular uh we use JavaScript uh angular is angular comes with many versions and reset version is 12 I guess and many more are uh there but I'm learning well and uh it is based in JavaScript and typescript also good good so I can see that you wrote May 1 then spring initializer what is maven sir my one is a project reading tool and using it we can uh use uh we can develop springboard projects it is for spring boot you are saying not exactly spring boot but uh we cannot we can develop different kinds of project including springboard and we can also uh develop spring MVC projects foreign you should say Maven is used as a dependency management tool okay yes correct yes so I'm not saying you are wrong but if you could say this word as a dependency it will be really great okay dependency management basically it manages the dependencies and that's why your project is getting built okay so how you rate yourself in poor Java one to ten one is lowest and 10 is highest so 7.5 okay okay so let me ask you some basic questions can variable be final yes sir possible yes okay can variable be abstract yes sir variable cannot be abstract okay can method be abstract yes we can declare abstract methods but uh okay why means abstract method doesn't have a body right yes okay so they can just give an idea about what can we do in that method if it's over it okay so it is preferable to override abstract methods you are saying right yes okay great okay why multiple linear returns is not allowed in Java let me come to it if uh if I have uh two classes in Java A and B and these two classes are extended plus the extents or both of these classes class x c extends A and C extends B so uh when a child class is there it it calls it superclass Constructors with with using uh super keyword so uh using super keyword uh it will get confused in which which uh Constructor to call out of these two uh Constructors means what actually multiple super classes or multiple subclasses when one class is having multiple confused because uh of two parent Constructors in which uh constructed to call because uh super keyword is used in uh construct obstacle plus yes and we just use that that's that keyword uh but when having two parent classes obviously that uh okay great is multiple inheritance allowed in case of interfaces yes sir why so we can find a solution to Diamond problem oh so I have not used it directly so okay so you should say in such cases because see you only said Diamond problem happens in in the class yes now you said correctly that in interfaces it won't happen yes then I asked you question what is Diamond problem yes yes you told that also yes having one subclass and multiple super classes and from subplus Constructor there will be super keyword and due to that super it get confused which Super class to access yes all right yes similar function you should say here interface it doesn't have Constructor yes so there is no question of super right so like that you should manage so my take would be y multiplying inheritance is allowed in case of interfaces I would say in interfaces anyway there is no Constructor because it doesn't mean means it doesn't have Constructor means it doesn't have super yes there is no question of going Constructor called to which Super interface yes what's the point yes do you know any inbuilt interfaces in Java yes sir which one list is an interface in Java correct that's it at you set and Q great inbuilt classes in Java object class first of all then any rapper class you know any other class built-in class you know scissoring string yes any other more [Music] okay do you know any method from the string class yes sir which method two uh two string Methods two string method of string class any other method yes sir [Music] there is weight that in string also there is a split method then there is substring method then uh there is stream method likewise we have so many methods in string class good Goods what is difference between string and string buffer a make changes to its original copy and if I make some class some string object then if I want to make changes to that uh that object it will make a new copy and if I am using string buffer instead of string then uh I'll know uh I want to make changes then I can just use append method by a string method and I can use same uh object and it will uh avoid the wastage of memory okay so you need to say if we go for concatenation of a string yes then in case of string multiple objects will get created yes whereas in case of string buffer similar memory will get used right great Okay so you know exception handling why to use it said we uh use exception handling to at the runtime so uh basically exception is uh any event that occurs uh during the runtime of program program to uh interrupt the normal program flow so uh exception handling is some methodologies we perform to avoid that exception to come is used in exception handling but uh it is a block that we can use uh to show any important code we want to show so you mean to say finally block is for important code I am writing any risky code then uh if exception comes after that code I need to show some important message to user and uh it's mandatory to show that execution to the user then I'll use finally very good make it more smooth perfect so you you are good at adjusting things and you really giving answer in a proper fashion so if this question would have been asked to me what is finally I would have answered in a way like the code which you want to execute compulsorily yes irrespective of exception IT workers yes that's it right but you are very correct in that okay that was the my style of giving answer your style might be different okay and I'm not saying that you are wrong at all okay you're using Eclipse right yes what difference between using eclipse and Notepad said eclipse is an integrated development kit for projects so ideally if I want my project to uh build faster and to have more features and in terms of faster uh development uh eclipse is better than Notepad but why what do you get in that I understand faster development what extra feature you see in Eclipse than the notepad so using Eclipse it provides different versions such as for example if I'm developing a project for web development Eclipse will provide provide me uh tools for web development such as javai application version of it and uh if I'm even if I'm developing a project plan I don't know any method of some class then it will give a list of suggestions so that I can use uh I can read those suggestions and I can use either use those methods even if I don't know it that's what that's the correct answer okay suggestions in notepad you don't get Solutions faster development that is correct okay but why faster development because suggestions auto complete yes right colors you don't get colors right some keyword colors and all yeah very good okay how to clone object so by using clone method by clone method is of which class did you use GitHub what is gito that GitHub is a website you can say uh by using GitHub I can access my project from anywhere in the world so if I'm using my project here and you are using this only project from different countries then I can just upload my project my work on that uh GitHub site and you can access it by your aid but that can be done through share drivers right in Google Drive you can keep your code yes and share that link with your friends they can use it worldwide right yes then what is difference between Google Drive and GitHub sir it is a professional platform and it is also professional platform yes sir but uh GitHub is there for project developer ation Google Drive also I guess but it is better in terms of teamwork and project management better to do in the Google drive because it is motivated by Google company right no sir I'll prefer GitHub that's what I'm asking why there must be some reason right yes so it's a concurrent versioning system yes okay so let's say this is a GitHub one file we put there yes second file you put there yes so in simple drive it will get replace yes but in GitHub versions will get created yes and if I want to merge it then I can merge it self in Google Drive you don't get all these features correct Google Drive is just storage GitHub is a storage plus version controlling system merging conflicts everything it is right so this should be in your answer yes but very good you you have used it you put some projects over there I can see one Link in your resume what is SNP uh if it stands for my mother's name foreign and willing to learn how I guess I can say or how you can prove that you you have good teamwork skill because right now I cannot bring people here to make you work with them right yes so how easily you can convince me that you're a good team player with your past experience or maybe College days or something so in my past experience in my college project I have performed group discussions with my project team and we have discussed so many things in bulk we decided everything together and it was a very fun I really enjoyed that activity and we uh performed our presentation at uh when the engineering presentation terms that are things we face so it was a really uh great experience for me to learn and also after that I did an internship in an electronic company so uh there I got to know if uh provider with a chance I can be a great team player with uh sharing my knowledge and my experiences and I can even teach my teach the things I know to any people who like so you like teaching so you want to become a teacher or a software developer so I I want to develop software I don't want to eat what I said because this is a new technology to learn and I'm willing to learn it uh since many years so you don't want to be a teacher but do you love teaching you're saying yes sir still you don't want to become teachers yes sir because uh likewise I have many hobbies such as drawing reading and communicating with people you have mentioned those in resume so don't ever mention also okay if it's not needed painting you know right yes it's none of my area of Interest yes right but it's great okay so you are from Electronics background right yes what you know in electronics certain Electronics there are many Technologies such as software and Hardware for example company no but I'm just asking you Electronics concept okay so uh which concept electron protons all this belongs to electronics yes what is electrons single you know element in an atom which if atom is a big thing and uh electron is uh Electronics the one which moves in that peripheral orbits and if electron is misplaced then it creates all the uh you know so you mean to say atom is the one thing and instead atom there are lot of electrons inside atom there is a nucleus there are protons and neutrons and uh electron is the one who moves in orbits I didn't understand item is a big thing I said can I draw it I just explain it okay so if you see a Saturn yes there is this this is nucleus and these are orbits orbits of orbits of electrons and uh these orbits varying numbers so according to what element you are choosing uh if it is a semiconductor if it is a conductor and if it's a non-conductor these orbits keep changing but uh you know you when you work in Industry uh these things far apart and you need to focus on what is in front of you yeah so this is the diagram of what this is diagram of an item item yes this is plus Dash and these are negative electrons can I say that atom has electrons or electrons has atoms atoms has electrons how many electrons can be there in one atom it can vary numbers from two electrons minimum two uh two minimum two electrons to in hundreds of eight electrons it can vary but at least minimum it should be two one because it needs to be balanced okay what is the unit of current Williams okay they will give you the definition of current flow of electrons from negative to positive not positive to negative it can flow like that positive negative negative positive right negative to positive is natural thing and positive to negative is directed thing yeah how to make that directed I can use a battery you can use a battery right okay what is the difference between we charge a sale and we light up the some some bulb right there is one process yes and another is uh there is a light right mscd that is it what is difference between these two one is actually you want the point yes there is a battery you charge it yes and then you lift the bolt bulb yes another one you switch on the light which one is active circuit the one having switch is active okay because it contains live current because it contains live current and what is this battery thing uh you can say it like that not exactly because I can't remember it right now but yes so in battery how current is getting stored if you can recall these things there are lithium and there are different types of battery and we can use semiconductors for that which are having holes and then we can charge them and uh These Hoes keep their charge and I mean they store these charges so which material is used to store for example I can use lithium ion battery they don't have any charge so if I charge them by using any electric flow they get charged and I can use them in any circuit perfect good so you ever give Electronics interview in your whole career yes sir electrons and photons so anything is complete without single of these two or always there should be both and everything right yes so it is compulsory to have electrons protons and neutrons yes that's why uh once uh we wrote something around on our skin it's like a plastic chair sometimes it gives a shocks to us yes so what is that that is static electricity Electric static literature yes great to know and I'm also getting Knowledge from you that what does Electronics means whatever the electronics concept because I know Java I know hibernate spring and you also know that but this is great to know good to learn okay these are the natural Concepts yes sir Neutron photons electrons and every engineer at least should know this yes some people might say no I'm not from Electronics background it doesn't matter but he should know it right yes they are the basics [Music] foreign [Music]
Info
Channel: The Kiran Academy - Java By Kiran
Views: 15,419
Rating: undefined out of 5
Keywords: the kiran academy, java by kiran, kiran sir, java interview questions, java interview questions and answers, java mock interview, kiran sir mock interview, java programming, java projects, java programming for beginners, core java interview, advance java interview, hibernate in java, oops concept, array list, kiran sir java interview, java questions, program solving in java, core java interview questions for freshers, advance java questions, SQL, HTML, css in java
Id: B9uxcMt3sLM
Channel Id: undefined
Length: 26min 21sec (1581 seconds)
Published: Fri Sep 15 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.