Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
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
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.
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..
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 " 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.
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.
Enjoying sir as usual whenever i listen to you..such a wonderful explanation..Thank you sir. incompatible types: cannot be converted to int int i1=null; ^ incompatible types: String cannot be converted to int int i2="HK"; ^
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
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
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
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 .
int i1=null; CE:-incompatible type ,,, null can't converted into int. int i2="HK"; CE:-incompatible type,,,,,string can't converted into int. Thank you sir , for this wonderful explanation plz explain and share more videos like this
int i1=null;---->CE:incompatible types: 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 . So if you carefully observe in errors, you will get to know... and String can not be converted to primitive type int and String belongs to referenced type so is of referenced type... Thanks.
null , is not specific to any data type . It does not fall under the range of any datatype because it does not presents any data as it is used to represent nothing. If you want to store nothing use null. So main point is that null can be used for class, enum, annotation, array, interface, but it is has to be tell explicitly .
hello sir, and thanks for another extra ordinary explanation . can you plz give a lecture on "Jvm inside proccess" bcoz i missed that class . regarding nikhil jain.
HkSir.java:5: error: incompatible types: cannot be converted to int int i1=null; ^ HkSir.java:6: error: incompatible types: String cannot be converted to int int i2= ("hk"); these two errors are comming after compile dis program. Really sir, i enjoyed dis video like anything.
Sir, in this video you have explained about only null and what about NullPointerException related points.. you have said, in continuous of this video we will discuss about it but i am not able to find that continuous video
Sir Please upload the last 2 points video.. Waiting for the next video of null and null pointer exception.. Please sir upload more videos as possible... It makes our career...
Before null we have to use cast operator to avoid ambitious errors Like System.out.println((String)null); System.out.println((Integer)null); System. out.println((int[ ] null);
Grate explanation sir while assigning variable type the program runs smoothly but while using cast operator type compiler throws error... Please clarify it..
Sir ,i am your student. My class time 9 O'clock morning . sir you gave one assignement for solve .i did solve my ans is...... int i1=null;-->CE:incompatible types: cannot be converted to int int i2="HK"--->CE:incompatible types: String cannot be converted to int
Exception in thread "main" java.lang.Error: Unresolved compilation problems: Type mismatch: cannot convert from null to int Type mismatch: cannot convert from String to int
Hari.java:5: error: incompatible types: cannot be converted to int int i1=null; ^ Hari.java:6: error: incompatible types: String cannot be converted to int int i2="hk"; ^ 2 errors Press any key to continue . . .
error : incompatible types : cannot be converted to int int i1=null; ^ error : incompatible types : String cannot be converted to int int i2="hari krishna"; ^
The word "pointer" in NullPointerException is now way related to C,C++ pointers. It is purely with dictionary meaning indicating that method is called on "reference variable" that points to "null" value
even though java don't have any pointers, internally everything is run with pointers and references. So nullpointerexception means the object is pointing to null (empty) instead of something compaitable element .when Object is empty this exception is thrown
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
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
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.
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..
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 " 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.
r
Nice sir... When I was watching this video.. I am feeling like now I'm in class... Thanks sir for provide this videos ...
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.
Thanks for suggestions
Enjoying sir as usual whenever i listen to you..such a wonderful explanation..Thank you sir.
incompatible types: cannot be converted to int
int i1=null;
^
incompatible types: String cannot be converted to int
int i2="HK";
^
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
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
Very nice video sir i am proud of you.
I am from bihar motihari jila.
Thanks u for upload this video
To teach
Thank you sir toady I got null & nullPointerException concept really very good
Thanks again sir
Great sir.........no words for explaining......thanks for video......
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
Superb explanation sir ji...
Thank you sir...wonderful explanation...i'm eagerly waiting for next video of this topic.
so now thorugh these videos we can learn from anywhere , thnku sir
Our pleasure and do visit the channel for continous learning
great explanation sir INT is a primitive data type thats why compile time error will be occurred
sir, i really love your teaching in fact i am biggest fan to your lecture .
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 .
intruged to see him from online sessions much of my temptation is satisfy now
Thank you 4 giving u r subject on UA-cam
HK SIR......WONDERFULL EXPLANATION SIR...
NO ONE CROSS YOUR KNOWLEDGE THAN U SIR....
--JD SARKAR (ONGOLE) YOUR STUDENT SIR
we are feeling we are in your live class and we are giving answers also Sir, thank u sir
int i1=null; CE:-incompatible type ,,, null can't converted into int.
int i2="HK"; CE:-incompatible type,,,,,string can't converted into int.
Thank you sir , for this wonderful explanation plz explain and share more videos like this
the next topic operation performed using null i cant able to find out????
Your explanation is good
thank u sir...nyc vdo....really you make it simple to understand d concept....waiting for the null pointer exception part....
super teaching and very good explanation
Sir,Your Explanation was very good.I am waiting for second video of this topic and also whole collections topic videos.sir please upload very soon.
Very nice Explanation...
This is the reason we are fan of Harikrishna Sir... Sir please upload a video on this() keyword also.
thank you :)
Thank you, okay will uploda
very good explanation Sir. we need you class on Exception handing..
this video is very helpful to project side
it's awesome sir...!!!
great sir.....Very good explanation
int i1=null;---->CE:incompatible types: 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 . So if you carefully observe in errors, you will get to know... and String can not be converted to primitive type int and String belongs to referenced type so is of referenced type...
Thanks.
Ya I too have the same Dought........!
Could anyone can give a clarity
Thank you so much sir!
Gd video sir
null , is not specific to any data type . It does not fall under the range of any datatype because it does not presents any data as it is used to represent nothing. If you want to store nothing use null. So main point is that null can be used for class, enum, annotation, array, interface, but it is has to be tell explicitly .
Superb
hello sir, and thanks for another extra ordinary explanation . can you plz give a lecture on "Jvm inside proccess" bcoz i missed that class .
regarding nikhil jain.
Sir,can u able to provide video lectures on Collections?
We will provide very soon
Actually we are working
Sir i am your X student sir will you be able to upload core java videos please ?
i will be very thankful to you sir ......
HkSir.java:5: error: incompatible types: cannot be converted to int
int i1=null;
^
HkSir.java:6: error: incompatible types: String cannot be converted to int
int i2= ("hk");
these two errors are comming after compile dis program.
Really sir, i enjoyed dis video like anything.
Please try this
Integer i1= null;
String[] s= null;
int is a primitive not reference type , Integer is reference type
Good job sir keep it up
super explanation
Thankyu sir......thankyu NIT
please upload remaining topic of NullPointerException
#Awesome #sir
Sir please upload next video of null And NullpointerException.
Please upload more videos of Harikrishna Sir on core java concepts.
go and join course in ammerpet
Thank u sir please upload the pass by value topic
sir plz upload one video of singleton class and its uses in real time and its advantage..........thank you sir in advance
yes ready
nice explanation plz upload 2nd video of null and null pointer exception.
in video also sir is given last option as a correct answer
Sir please upload the second video of Null & Null pointer exception.....waiting....!!
HK product here.
Thank you sir.
good tutorial.
i am very thank full us
Sir, in this video you have explained about only null and what about NullPointerException related points.. you have said, in continuous of this video we will discuss about it but i am not able to find that continuous video
Very nice sir
Sir Please upload the last 2 points video.. Waiting for the next video of null and null pointer exception.. Please sir upload more videos as possible... It makes our career...
Please send that last two points explanation
error: incompatible types: cannot be converted to int
int i1 = null;
error: incompatible types: cannot be converted to int
int i2 = null;
Thank u sir
its good video thnx sir but second video I want to see? plz upload as soon as possible
Sir have u made any video to use null
Before null we have to use cast operator to avoid ambitious errors
Like
System.out.println((String)null);
System.out.println((Integer)null);
System. out.println((int[ ] null);
sir please make the video on java networking
int i1=null// incompatible types: cannot be converted to int
int i2="HK"//incompatible types: String cannot be converted to int
Grate explanation sir
while assigning variable type the program runs smoothly but while using cast operator type compiler throws error...
Please clarify it..
can you pls post the code where you are getting error?
public class ExampleNull {
public static void main(String[] args) {
Integer(null);
{
System.out.println(Integer(null));
}
}
}
@@alokranjannayak2509 That's not a cast, it is trying to call the Integer constructor with null as a value. You meant (Integer)null
thanku sir
We appreciate your response
error: incompatible types: cannot be converted to int
int i1 = null;
error: incompatible types: String cannot be converted to int
int i1 = "HK";
^
where can I find part 2 of this video..please help
it is incompatible types "String cannot converted into int type"
Add more and more videos on core java
sir please upload the next video related to Null pointer Exception
Sir, when are you going to upload videos on Collections?
Regards
Cannot find null pointer exception video..in the end you said about continuing in next video..
sir pls upload JVM architecture because I was missed that cls
please upload packages topic
Hi,May I please know how much do u charge for core java and advance java online training course.
Many thanks
greetings!!
String and null can not be converted into int type.....
Incompatible type null can't be convert into integer ,string can't be convert into integer
in just 16mins HK sir clear the base...
we need more videos sir plss
Sir ,i am your student. My class time 9 O'clock morning . sir you gave one assignement for solve .i did solve my ans is......
int i1=null;-->CE:incompatible types: cannot be converted to int
int i2="HK"--->CE:incompatible types: String cannot be converted to int
Integer i=null; write like this you wont get CE:
which datatype of null ?,store which data type
An instance of type null cannot be of type int
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Type mismatch: cannot convert from null to int
Type mismatch: cannot convert from String to int
error: incompatible types: cannot be converted to int
int i1=null;
error: incompatible types: String cannot be converted to int
int i2="hk";
incompatible types: cannot be converted to int
incompatible types: String cannot be converted to int
Sir i am your X student sir will you be able to upload core java videos please ?
i will be very thankful to you sir ......
sir plz upload collection vdo
upload full video on java
Okay
sir please upload about this keyword we missed the class
incompatible type null can't be converted to int
Hari.java:5: error: incompatible types: cannot be converted to int
int i1=null;
^
Hari.java:6: error: incompatible types: String cannot be converted to int
int i2="hk";
^
2 errors
Press any key to continue . . .
Please try this
Integer i1= null;
String[] s= null;
This file contains characters which can be lost in current encoding.
error : incompatible types : cannot be converted to int
int i1=null;
^
error : incompatible types : String cannot be converted to int
int i2="hari krishna";
^
where is the 2-nd part of this video?
Compilation Error: Cannot convert from null to int(data types)
java.Lang.error
when java does not support pointers why does it throw NullPointerException
The word "pointer" in NullPointerException is now way related to C,C++ pointers. It is purely with dictionary meaning indicating that method is called on "reference variable" that points to "null" value
even though java don't have any pointers, internally everything is run with pointers and references. So nullpointerexception means the object is pointing to null (empty) instead of something compaitable element .when Object is empty this exception is thrown
the answer is int cannot be converted into null and int cannot be converted into string