NULL & NullPointerException | Java Tutorial | By Mr.Hari Krishna

preview_player
Показать описание
Java Tutorial: By Mr.Hari Krishna
Core Java Course Topic: NULL & NullPointerException

Welcome to the Core Java Tutorial Series! In this video, we introduce the essential concepts of Core Java and guide you through building a strong foundation in Java programming. Perfect for beginners and those refreshing their Java skills!

🔹 Course Details :
• Topic: Core Java Course Overview | NareshIT

🔹 Join Our Community For Latest Updates:

• 📚 Learn Core Java with NareshIT and take your Java development expertise to the next level. Don’t forget to like, comment, and subscribe for more tutorials and updates!

#corejava #javatutorial #javaprogramming #learnjava #nareshit #javaforbeginners #javacourse #programmingbasics #javadevelopment #javaskills #javalearning #enterprisejava #javatraining #javaseries #javacode #javaframeworks #javatips #springframework #javaconcepts #codingwithjava

*💡 About NareshIT:

"Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA , Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA, Hyderabad, Chennai and Vijayawada, Bangalore India which provides online training across all the locations
________________________________________________________________________________________________________________

💡 Our Online Training Features:
• 🎈 Training with Real-Time Experts
• 🎈 Industry-Specific Scenarios
• 🎈 Flexible Timings
• 🎈 Soft Copy of Material
• 🎈 Recorded Videos of Each Session
________________________________________________________________________________________________________________

Please write back to us at
Рекомендации по теме
Комментарии
Автор

How many of you guys did catch the motto behind this assignment..?
When you assign int i1 = "HK"; you get a compile time error saying "String can't be converted to int". It means that literal "HK" is of String type.
But, when you assign int i2 = null; compiler doesn't show error like "Object can't be convetred to int" instead it says "<null> can't be converted to int", Which proves that stand-alone null literal isn't of any specific type, but it can be assigned to any reference-type.

HateAcceptedButThinkAgain
Автор

Sir, I am a student of you.
I likes your teaching style because you always teaching us not like a faculty but teach us how can we understand i.e the very powerful inspirational part of a faculty.
So upload these types of concepts videos which will help us in future.
Thank you NiT

tappu
Автор

I have taken coaching in 2006, One of the best Java faculties @ Ameerpet with in-depth knowledge transfer of all Java concepts, students gain more knowledge than working professionals.I was able to get a job soon after graduation bcoz of his coaching. students with zeal, patience, consistence, persistence can blindly take his coaching.

ThePratapunique
Автор

Sir, the day I started attending your class, from that onwards, I am fan of you like anything. Now I am working in a MNC, my manager always appreciate my code..

Coder_Mama
Автор

Nice sir... When I was watching this video.. I am feeling like now I'm in class... Thanks sir for provide this videos ...

solotravelerrk
Автор

the next topic operation performed using null i cant able to find out????

harshalkadu
Автор

thank sir giving a such type confidence to the students
I really like that way teach u
in fact I'm a non it student iam never facing any difficulty in learning Java this is only because of u

airaaira
Автор

Very nice video sir i am proud of you.

I am from bihar motihari jila.

Thanks u for upload this video

To teach

WriteCodeWithPrince
Автор

you are great sir any faculty is after you, you will inject the concept in many ways for us, you will entertaining class according to subject thank you sir

sranjithkumar
Автор

Thank you sir toady I got null & nullPointerException concept really very good
Thanks again sir

arunpratapsingh
Автор

He is great person and his strategy is very good to learn java.So many people got job because you i am also one of them thank you Hari sir. Don't display your contact information many times in between session it will disturbs you can display in the beginning of session or in the end of the session.

Vijay-csuy
Автор

sir, the way you teach and the way you inject the concepts is really friendly..
thank you very much sir..sir we are eagerly waiting for JVM architecture videos

mayurkumar
Автор

Thank you sir...wonderful explanation...i'm eagerly waiting for next video of this topic.

jayeshpandey
Автор

Enjoying sir as usual whenever i listen to you..such a wonderful explanation..Thank you sir.
incompatible types: <null> cannot be converted to int
int i1=null;
^
incompatible types: String cannot be converted to int
int i2="HK";
^

MUKESHKUMAR-vhmb
Автор

Null is a any referenced type literal that type should be array, class, interface, enum, annotation.
Null used to avoid compile time errors. To assigning variable, using null but don't use directly at object level only we r using referenced type of null .

nareshroyalzz
Автор

great explanation sir INT is a primitive data type thats why compile time error will be occurred

rafishaik
Автор

intruged to see him from online sessions much of my temptation is satisfy now

gauravjava
Автор

sir, i really love your teaching in fact i am biggest fan to your lecture .

srinivasvenkata
Автор

int i1=null;---->CE:incompatible types: <null> cannot be converted to int
int i2="HK"--->CE:incompatible types: String cannot be converted to int
sir, if String of referenced type can not be converted to primitive type int & also null of can not be converted to primitive type int.
here i wrote blank_space to fill the the type of <null>. So if you carefully observe in errors, you will get to know...<null> and String can not be converted to primitive type int and String belongs to referenced type so <null> is of referenced type...
Thanks.

jayeshpandey
Автор

thank u sir...nyc vdo....really you make it simple to understand d concept....waiting for the null pointer exception part....

Sriram_Chhotaray