cherlapalli_jailer Posted April 25, 2014 Report Posted April 25, 2014 XYZ ee null unte NPE throw chestadi kada ba anduke first null check cheyyali So if that condition fails it will not go to next condition it will come out of if loop
agora Posted April 25, 2014 Report Posted April 25, 2014 anduke first null check cheyyali So if that condition fails it will not go to next condition it will come out of if loop oh already reply ichava
porsche911 Posted April 25, 2014 Report Posted April 25, 2014 anduke first null check cheyyali So if that condition fails it will not go to next condition it will come out of if loop +1
LungiLingaraju Posted April 25, 2014 Report Posted April 25, 2014 Deniki object null ayite XYZ.getabc() annapudu error vastundi. Idi lekunda rayali anduke kada first null check chestunam idi fail aithe next if condition ki poodu will exit if statement ...
LungiLingaraju Posted April 25, 2014 Report Posted April 25, 2014 anduke first null check cheyyali So if that condition fails it will not go to next condition it will come out of if loop nuvvu cheppina dantlo null check lekunde ba .. Anduke Anna ala ... Java lo née posts ee follow aitha nenu
fake_Bezawada Posted April 25, 2014 Report Posted April 25, 2014 Hi Bhayya nenu if condition lo okka int value !=0 ani compare chesthunanu but adhi null point exce[tion throw chesthunadhi as i am writing in JSP page so direct gaa compare chesthunanu so koncham chepparu how to handle that NPE getabc method is returning int value if(XYS.getabc()!=0) xys.getabc() ante getabc return type enti if it is a Object of wrapper classs then it returns null not integers kadha so ee condition fail avtundhi andhuke NPE vastundhi objects ki null check cheyyali variables ki 0 or "" (empty literals) ilagae
agora Posted April 25, 2014 Report Posted April 25, 2014 xys.getabc() ante getabc return type enti if it is a Object of wrapper classs then it returns null not integers kadha so ee condition fail avtundhi andhuke NPE vastundhi objects ki null check cheyyali variables ki 0 or "" (empty literals) ilagae bhayya nuv Ind lo unnatav leda US ha?
fake_Bezawada Posted April 25, 2014 Report Posted April 25, 2014 bhayya nuv Ind lo unnatav leda US ha? INDIA ne nako inko 8 hours lo IST 9 ki interview vundhi andhuke nidra patatledhu net java interview question deking naku DB ante literally toilet andhuke adhi chustuna
cherlapalli_jailer Posted April 25, 2014 Report Posted April 25, 2014 Object null vastundi ? Normal ga raakoodadu. If it null then check object first
fake_Bezawada Posted April 25, 2014 Report Posted April 25, 2014 Object null vastundi ? Normal ga raakoodadu. If it null then check object first yeah ah method return chesedhi Object aythe we need to check with null crct annay
fake_Bezawada Posted April 25, 2014 Report Posted April 25, 2014 Object null vastundi ? Normal ga raakoodadu. If it null then check object first yeah ah method return chesedhi Object aythe we need to check with null crct annay
agora Posted April 25, 2014 Report Posted April 25, 2014 INDIA ne nako inko 8 hours lo IST 9 ki interview vundhi andhuke nidra patatledhu net java interview question deking naku DB ante literally toilet andhuke adhi chustuna ok...nen nuv US lo untavemo anukunna iamking nuvve kada?
fake_Bezawada Posted April 25, 2014 Report Posted April 25, 2014 ok...nen nuv US lo untavemo anukunna iamking nuvve kada? kadhu Bezawada bablu nenu karudu gattina Bezawada vaadini sare etu thread padindhi kabatti kasepu java peddalu core java lo interview cheyandi bhayyiah nannu test chesukunta entha varuku vundho na burra lo 2 + exp nadhi na range lo adagandi level penchukuntu veldam
fake_Bezawada Posted April 25, 2014 Report Posted April 25, 2014 naaku night out snack ee pilla katti turum kekaaa
agora Posted April 25, 2014 Report Posted April 25, 2014 kadhu Bezawada bablu nenu karudu gattina Bezawada vaadini sare etu thread padindhi kabatti kasepu java peddalu core java lo interview cheyandi bhayyiah nannu test chesukunta entha varuku vundho na burra lo 2 + exp nadhi na range lo adagandi level penchukuntu veldam kk...ATB for your interview nen java kadu may be CJ will be helpful for you
Recommended Posts