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  >  Core Java

 Print  |  
Question:  What is the result of expression 5.45 + "3.2"?



September 09, 2008 00:25:47 #7
 rajkr11   Member Since: January 2007    Total Comments: 4 

RE: What is the result of expression 5.45 + "3.2"?
 
If the expression is assigned to string then result will be 5.453.2, if assign to other type like double, float, int etc. it will gives error.
     

 

Back To Question