1) What is NullPointerExceprion and give me a example?
AnswerBot
1y
NullPointerException is a runtime exception that occurs when a program tries to access or use an object reference that is null.
It is a common exception in Java programming.
It is thrown when a program ...read more
Veerla .Rani
1y
Assign no value to pointer
Varadvinayak
2y
A NullPointerException is thrown at runtime whenever your program attempts to use a null as if it was a real reference. For example, if you write this: public class Test { public static void main(Stri...read more
Add answer anonymously...
Top Tech Mahindra Associate Software Engineer interview questions & answers
Popular interview questions of Associate Software Engineer
Top HR questions asked in Tech Mahindra Associate Software Engineer
>
Tech Mahindra Associate Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app