Java Mock Interview | Fresher Java Technical Round | OOP Concept | Core Java Interview Questions

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello welcome to our YouTube channel today we are taking one more interview as usual daily we are taking and this complete series is for interview questions and answers but always remember what I asked is for you don't judge candidates it's not your duty as is all I'm telling in every interview your duty is to judge yourself I'll be asking questions pause the interview pause the video and then try to answer by yourself and judge yourself and this will give you mock idea like how the interviews are happening in the companies and how you will be answering so without taking much time let's start today we have Silo with us and she's Engineering Graduate okay so welcome silu uh can you explain about yourself yes first of all thank you sir for giving me this opportunity to introduce myself I myself I have completed my be in computer engineering from RND server School engineering uh with the aggregate cgpa of 7.89 I've done my schooling and dwells from Maharashtra itself uh I'm coming to my technical skills um I know about core Java in that I know about oops Collections and oops Collections and coming and HTML CSS and JavaScript coming to my family we we are four members including need cells yes attaches how much you rate yourself out of one to ten how would you rate yourself out of 10 10 is highest one is lowest in Korea so I'll rate myself seven no problem it's good to say nine also then also provided if you have studied very hard okay and you are very perfect okay do not say lower than five okay that makes interviewer confidence down okay so he might not take interview so a good digit you selected that is seven right yes great no problem okay so let me start with some basic questions what are the access specifier available in Java there are four asset specifiers available in Java those are public protected private and default what is encapsulation encapsulation means we bind a Google specifier is called as an encapsulation for example you can take a capsule and that we uh we mixes a several medicines medicines in a one one capsule yeah so that is encapsulation okay so I'll mix all of them so what is SQL SQL is a structure query language this big query language is used to store the databases using relational database the relational database it is called as SQL in this data is defined by a particular commands and the commands we use in this are create alter and drop and coming to DML DML is a data manipulation language in this we manipulate the data by using three commands insert delete and update and coming to DCL DCL is a data control language uh in this we in this we uh we have two commands and we those commands are Grant and revoke okay great great that was very explanatory uh what is primary key so primary key it is a primary key is primary key is a minimal set of an attribute uh of a of a table uh if my primary when we use more more than we will use more than one or two primary Keys we need a we need a more space for that and the and primary key has a minimal value of 900 bytes okay I would expect in such questions uh important points you should be talking like primary key means unique values okay no problem uh what is difference between string string buffer and string Builder so such string is an immutable immutable class and string buffer answering Builder are notable class uh string string buffer is a synchronized and it is it is thread safe we can call two methods uh Simon we can call two methods simultaneously in string buffer um string buffer is less efficient than string Builder uh coming to string Builder and string Builder is a synchronized it is not thread safe we can we can we can we cannot haul uh two threads simultaneously in string Builder and it is more efficient than string buffer okay what is string Builder as a string Builder it is it is a synchronized data and it is not a it is not a thread save string Builder comes in jdk 1.5 okay after Java is become Advanced okay so that type string Builder came and it is more uh useful than this ring buffer okay so remember that correct oh not a problem next is like what is serialization uh so serialization it is a mechanism of writing a core uh when we write a code it from byte code it converts into object code and uh and it is and DC realization is opposite of the serialization uh in that the code is written in an object it converts to a byte form what is the difference between arraylist and has Set uh errorless errorless has a errorless has um okay it allows duplicate duplicate yeah analyst allows duplicate whereas asset doesn't allows duplicate and uh it it will uh analyze the errorless has um order is minted the in errorless the order is maintained whereas in asset uh has set order is not maintained which is uh good to use earliest or asset um no problem um what is difference between interface and abstract class interface and abstract class okay no problem what is final finally and finalize final is a keyword finally is also keyword finalizes the method okay final is um in final we finally is to define a constant finally is used in exception and finalized it is used in methods okay so before garbage collections run finalize method will get involved yes okay so you should remember this okay one question I ask I want to give answer for that so that many people are seeing this interview so it's not about only asking question but giving answers also difference between interface and abstract class so in interface we can have method public abstract but there is compulsory in interface method will not have body whereas in abstract class methods can have body and without body also compulsory access specifier of methods in interface should be public whereas in abstract class you can have any access specified so remember such small differences one or two differences that's enough okay yeah so we'll be preparing next time right yes so what is a method overriding it's a method overriding uh in when two or more parameters when two are more uh when two or more names are same but and they see and they also have the same parameter is called as overriding whereas overloading is when we have same name but different parameters is called as overloading and overloading is solved by using compile time polymorphism and overriding is solved by using uh runtime poly modules good so what is polymorphism actually it's polyformism means one one task and many forms [Music] a human a man can be as a father he acts as a father plays role as father a son and as a husband and same that person if he goes for a shop he plays a role as a customer okay great we understood this example okay next is um what what do you what do you uh advances I know about springboard and he burned it uh uh what is and the crude uh operations what is hibernate so hibernate is hibernate is is a uh when server uh request to the data data server and that data server again responds to the server is called as a fibernate okay so rather saying that hybrid is used for retrieving data or resetting data into the database okay but you're correct that's not a problem okay next is I have a question just a second what is spring boot so spring boot is a communication between client and server when a client requests to a server and that server responds to the client this process is known as a springboard you should talk very general okay it is called as spring boot no nothing like that there is no definitions uh for terms okay Springwood is not a term yeah we are getting like returns it is a concept is not a concept it's a framework okay so you should be talking in that way okay no problem okay next uh simple questions I have like can independent class oh yes sir class is an instant of an object uh it has its own Behavior Uh it has its own behavior data and all and it simply it is a same instance of that object okay and what is object object is a blueprint of a class what is blue green means uh blueprint means hello [Music] studying us [Music] I'm sick okay no problem so what what we understood from this whatever we speak we should be knowing a meaning right yeah blueprint is a fancy word okay but if you answer for that also it will be good but what definition you give is really good okay correct not a problem can I explain what is file input stream and file output stream yes sir file input stream uh in input stream we write the data uh to the particular destination uh for example if you want to go from one place to another so we write the data from for example from Pune to Mumbai that data is written in that destination and file output stream means we read the data of that particular information so I think you got confused input stream means reading okay input is reading yeah and output is writing so we'll remember okay so if this gets confused now you should be trying again and again for writing of these Concepts okay I know this will this concepts are getting confused to everyone yes okay but my guide is to everyone would be priority did you ever tried writing answers yes I tried I do basically that okay okay but that's good no problem what is abstraction uh abstractions abstraction means uh it it hides is the internal data and it shows the what is mean is shown to the user for example if we send if we are sending an SMS to SMS uh the SM the internal system is not seen just only the the delivery system is not seen only what the user wants wants it it is only sold what is super class of all the classes in Java object you know object class object class yes sir what is at override annotation uh so what is ADD override annotation override annotation uh sir override annotation means when if the one word is overwritten or for example if we uh we have written in the one word which is overwritten in the code that override at the red override annotation is written above that a line so that they oh so that the overall what is the runtime exception and compile time exception it compiles when the execution uh is done by using compiler and runtime means it it the execution it is the execution is done when x uh okay what's the use of catch block catch block it um foreign um no okay no problem I have two questions okay last questions maybe uh what do you know in collection framework what do you know just explain whatever you know in that trip sir it is a framework uh it is uh you till until a framework is used uh in that we use different uh like we use add and collection framework is used for storing a data data yeah okay connection we used for storing a data data uh collection framework has different classes a release has said hash map like that you can tell right yeah go ahead explain uh mm-hmm collection frame is used to store the data it has uh it has it has a sets like asset um errorless asset RLS hash map what is the difference between threaded process thread and processors so process is process means uh when we execute a program uh it doesn't run uh it doesn't run uh completely means it doesn't run uh what we say it doesn't run um I'm not even with that word it doesn't execute a completely before executing that it takes it it tooks all the execution steps what are all needed and then that execution is done this is known as process and the thread and coming to thread thread is a subset of process um in this in this all the in this uh one it is also called as thread when one or more threads are used simultaneously it is also called as lightweight process and thread has two types that is single thread and multi-thread single thread means when one one thread is uh called it is called a single Z when multiple threads are called simultaneously is called as multi thread great great okay next is like what is static keyword in Java uh static keyword uh it is it is a non-asset cell specifier modifier and internal variables uh which is you which is it is intermediate of a parent class okay what is inheritance inheritance um inheritance is when inheritance means um a child class is totally inheritant by a parent class is called as inheritance and there are four types of inheritance plus that is single level inheritance multi-level multiple inheritance and hierarchical inheritance okay so these are all about technology questions what are your hobbies okay so that's it that's all questions from my side but I have feedback for you yes okay and that feedback is for every fresher those who are start those who want to start their career in it okay that is more important right giving interview getting past failed is not important we improve gradually in that okay okay so good points about you are you have good communication uh confidence you have you have good dating to come on this platform okay a lot of things like you see you have that daring actually many people doesn't have that thing okay you are daring to talk in front of people that's really good some feedback you have for improvements okay and Improvement would be you should remember things okay you get you forget things easily I think so like uh access specified this exercise you've told correctly but many other things you forgot I don't know how much Writing Practice you are doing but that is a must okay try talking get try giving interviews to yourself no need to have mock interviews or give going to the organization and giving interview so I would suggest you stand in front of mirrors yes take every question take some list of questions you might get that on the Google okay from Google take some interview questions list speak that question and try to answer that question in front of mirror okay you should talk to yourself you should help yourself that always I'm telling you're getting my point yes many things many times we feel that we know the answers yes and these Treasures are doing this mistake but when you sit in front of interviewer many times you forget that right that is improved right so I would expect you to talk to yourself give mock interviews as much as possible very well learning in any Institute that doesn't matter but you should be giving mock interviews studying it okay I'm not saying that uh a lot of hard work needed to do things but I will expect smart work is needed okay how was your experience what do you understood this is the first mock interview you are given never ever yeah this is my first mock interview and what was your feeling this was a good experience right now I have I will overcome whatever my mistakes are that I'll do best in next interview also yeah and don't see it's a mistake it's just some improvements yeah okay there is nothing like a mistake or something okay but thank you thank you thank you for your time also okay thank you thank you so this was a silo right yes sir yeah this is uh I asked many questions and again and again I'm telling you what questions I asked that matters and you might have seen freshers how they get confused on the questions because there are a lot of concept and you are very new to the concepts but interviewer needs answers and I hope this interview will be eye-opener for you all guys uh how confidence you need to build how communication you need everything I explained in this interview can it also give a lot of answers a lot of good answers you might have received some answers might be not that up to the mark but that doesn't matter to you as it's not your business your business is to understand yourself your business is to no answers to yourself what questions I'm asking you should be trying to give answers and build confidence if you want to give uh interview with me fill in the form and description that is mentioned in description like it share it I'll come back again with some other different interview thank you [Music]
Info
Channel: The Kiran Academy - Java By Kiran
Views: 477,995
Rating: undefined out of 5
Keywords: java by kiran, kiran sir, pyhton classes in pune, java classes in pune, java interview questions and answers, mock interview, advance java full course, java interview questions, java interview, advance java, static keyword in java, garbage collection in java, java mock interview for freshers, core java interview questions for freshers, core java interview questions, python, selenium, devops, salesforce, pune it classes, online IT classes, coding classes, kiran academy, interview
Id: L_VWgj06DKI
Channel Id: undefined
Length: 22min 43sec (1363 seconds)
Published: Thu Mar 23 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.