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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
Is it possible to write static method in abstract class?
justyfy your answer?
 Question Submitted By :: Praveencarasala
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Is it possible to write static method in abstract class? justyfy your answer?
Answer
# 1
ya we can write static method in abstract class
 
Is This Answer Correct ?    2 Yes 0 No
N Sridhar Reddy
 
  Re: Is it possible to write static method in abstract class? justyfy your answer?
Answer
# 2
It is absolutely possible to write static method in 
abstract class because static methods are class specific 
not object specific and they can with name of class.
 
Is This Answer Correct ?    2 Yes 0 No
Priyanjan
 
 
 
  Re: Is it possible to write static method in abstract class? justyfy your answer?
Answer
# 3
Yes it is possible to write the Static Method in abstract 
class
Ex:DriverManger.getConnection();
 
Is This Answer Correct ?    3 Yes 0 No
Prasad
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Explain about global variables in Java?  2
Difference between String and String Buffer?  3
What is OOP? BMC2
whats is the use of final,in which situation final can be used in the application? DNS2
what is aberivation of java?  10
Why do inner class cannot have static declaration except static nested class? Wipro1
whats the diff between jsp and servlets? HCL9
What is the diff. b/w Interfaces & Abstract class? Ericsson4
What is the GregorianCalendar class? HCL1
How to deprecate a method? Show it with proper example. Plz give the answer of this.Thanx in advance. mail me: tanzeem.akhtar@gmail.com  1
Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods? Ericsson3
I have 100 records in a table with two rows. I need to display 10 records per page like Google Search. I need only the Logic(Pagination) in Pure Java. No JSP and all..Thanks in Advance... Cybernet2
How to transfer data from an Applet to Servlet ?  1
Is &&= a valid Java operator?  2
Why we need to serialize the object Geometric-Software9
What is inheritance?  4
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.  1
What for read() function?  3
What is thread? BMC5
what is life cycle of applet?  4
 
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