ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Nullpointer exception is a very common exception. Why is it
not made as a checked exception?
 Question Submitted By :: Maria
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Nullpointer exception is a very common exception. Why is it not made as a checked exception?
Answer
# 1
When a null value is passed to a method or a method 
receieve null(nothing) value either a run time or vice-
versa, JRE or method will throw a nullpointer exception.

It is java's buit-in exception thrown at relevant time.
 
Is This Answer Correct ?    0 Yes 4 No
Ajay Kumar Sharma
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is the difference b/w PUT and POST method to send data to the server Mind-Tree2
What is Connection pooling? Explain Pros and Cons?  1
What is the difference between DataInputStream and BufferedReader  1
I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do? KPIT3
To what value is a variable of the Boolean type automatically initialized?  3
What are null interfaces in JAVA ? and give me some examples?  3
how u do unit testing? iFlex2
What is run-time class and system class? what is their purpose?  1
how can we import the user defined package without classpath?  1
Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types TCS3
What is the difference between panel and frame ? IBM3
what is the difference between multitasking and multithreading?  8
Which characters are allowed to use as the second character of an identifier, and which characters are not allowed?  2
can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}  4
Explain the relationship between the Canvas and Graphics class?  1
Why do inner class cannot have static declaration except static nested class? Wipro1
What is meant by packages?  2
which class to use when concatenating strings in a loop. IBM2
What is compile time polymorphism? Elementus-Technologies6
If a multi threaded Java program has started numerous number of threads, at any point in time how to know which thread is currently executing/running ? iFlex7
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com