Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between initializing a class and instantiating an object?

 
kenny gill
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

What is the difference?
 
Winston Gutkowski
Bartender
Pie
Posts: 10109
56
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kenny gill wrote:What is the difference?

LOTS. A class is a class, and an object is an object.

Perhaps you'd like to expand on your confusion here?

Winston
 
kenny gill
Ranch Hand
Posts: 54
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Well, of course they defer in that matter but to what detail do they differ?
 
Winston Gutkowski
Bartender
Pie
Posts: 10109
56
Eclipse IDE Hibernate Ubuntu
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kenny gill wrote:Well, of course they defer in that matter but to what detail do they differ?

I hate to say, but that question suggests that you need to read the Java tutorials, starting right at the very beginning.

This is not a criticism; simply that this forum can't teach you Java from the ground up. We're here to answer questions when you have a basic grasp of Java and have questions about something you've run into in your learning process.

Winston
 
Mansukhdeep Thind
Ranch Hand
Posts: 1158
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct Winston. Perhaps, Kenny has not grasped the fundamentals of the language. Hence, his questions are not specific.

@Kenny: I suggest that you read "Head First Java" book by Sierra-Bates. It would help you clarify your basic concepts about the language.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic