aspose file tools*
The moose likes Java in General and the fly likes What is the difference between Temperature temp=null and Double Temp=new Temp( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "What is the difference between Temperature temp=null and Double Temp=new Temp("23")?" Watch "What is the difference between Temperature temp=null and Double Temp=new Temp("23")?" New topic
Author

What is the difference between Temperature temp=null and Double Temp=new Temp("23")?

Sowm Herur
Ranch Hand

Joined: Jul 07, 2008
Posts: 32

What is the difference

Temperature temp=null;
Double Temp=new Temp("23");

I dont get the difference between these two?
Please explain
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Hard to say. What is a Temprature object or a Temp object and what do they do?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Embla Tingeling
Ranch Hand

Joined: Oct 22, 2009
Posts: 237
Sowm Herur wrote:
Please explain


Why should I bother with your questions when you don't even consider my replies?

http://www.coderanch.com/t/469785/Java-General/java/do-we-decide-when-create
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Embla Tingeling, please check your private messages.
 
 
subject: What is the difference between Temperature temp=null and Double Temp=new Temp("23")?