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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
Which method is used to find that the object is exited or 
not?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Which method is used to find that the object is exited or not?
Answer
# 1
we can check the null status of the object for it is 
exits or not.

  For Example
       class java{
         public java(){
         }
       }

       class javause{
         private java j;
         public javause(){
           if ( j != null)
              j = new java();
         }
         public static void main(String args[]){
            new javause();
         }
       }
 
Is This Answer Correct ?    3 Yes 0 No
Ashokmail
[Uss]
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
printstream class method println() is calling using System class and its static object out .how it is explain any one in detail with example ? TCS1
Program to find greatest prime number in n numbers? Huawei3
when to use abstract class and when to use interface? IonIdea5
how to handled exceptions & erros in ejb? Satyam1
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
What is the is a and has a relation ship in oops concept in java? BearingPoint5
what modifiers are used with top-level class?  2
what are the purposes of native, transiant key words?  2
How to print nodes of a Binary tree? TCS1
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;  1
What is stop(), suspend(), resume() method?  3
What is Hash Code in Java? Cognizent1
What is the difference between C++ & Java? Syntel21
who was the founder of java HCL8
what is the use of declaring constructor as private? Sai-Softech3
What is the difference between add() and addElement() method in Vector Class ? TCS2
What is Session and cookies?Explain in detail with an example? CTS2
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0 Accenture6
Life Cycle of Thread IBM3
How to add two numbers with out using Arithmetic , union operators in java....? But we can use bitwise operators... but how...? CTS2
 
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