GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 40 of 921    Print  
To what value is a variable of the String type automatically initialized
The default value of an String type is null.


  
Total Answers and Comments: 3 Last Update: May 13, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 16, 2005 10:09:15   #1  
Sushant Singh Sengar        

RE:
well string class objects are NULL by default only if they are defined as class level atttributes, otherwise string objects don't have any default value they need to be explicity initialized.
 
Is this answer useful? Yes | No
October 01, 2005 09:12:49   #2  
Deepti        

why we use overriding method

    

to hide the super class members functions


 
Is this answer useful? Yes | No
May 12, 2008 21:26:51   #3  
pankajrg Member Since: March 2008   Contribution: 1    

RE: Overriding
We use overriding when method avaliable in super class doesnot satisfyour requirement.
That is

To extend the alreadyavailable feature wew use overloading.
If we require the new functionality other than, what we already have we go for Overriding.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape