Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sowm Herur
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hard to say. What is a Temprature object or a Temp object and what do they do?
 
Embla Tingeling
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Embla Tingeling, please check your private messages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic