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
Why  do inner class cannot  have static declaration except 
static nested class?
 Question Submitted By :: Arun
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Why do inner class cannot have static declaration except static nested class?
Answer
# 1
Static have only one copy in memory. For class we have to 
create objects. But for static we cannot create.
 
Is This Answer Correct ?    4 Yes 4 No
Adithya
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0 Accenture6
There are 2 methods in a class. Both have the same method signature except for return types. Is this overloading or overriding or what is it? KPIT7
What is persistence ?  2
what is finalmethod & final variable with example? HP2
In real time project which driver did u use? What is the main functionality of the Prepared Statement? Photon1
what is difference between perfom() & excute() ? IBM2
how to transactions(Bank transactions) in business process in ejb? Photon1
What is the difference between pageContext and page implicit objects in jsp? Merrill-Lynch6
what are the diffrences between interface and abstract class?  4
Explain the relationship between the Canvas and Graphics class?  1
is this possible to create an array of 0 length? if so how? if not so why? coz we have an array in main() likw this "static void main(String [] s) then what it signifies? Hexaware2
can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}  4
what is servlet filter?  1
Can we declare an anonymous class as both extending a class and implementing an interface? Wipro7
What modifiers are used with a top level class?  2
what is synchronization  3
When garbage collector invokes object?s finalize() method?  3
What are the ways of polymorphism other than Overridding & Overloading  1
Which class has no duplicate elements?  8
What we have to do, when we don't want to implement all methods of an interface?  2
 
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