• Post Reply Bookmark Topic Watch Topic
  • New Topic

method vs class vs interface  RSS feed

 
Brian King
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Does anyone know of any good books, sites, or videos that discuss the difference between a method, class, interface, and object?  I'm struggling understanding them and feel like it's going to be a big issue as I go on.

Thanks,
Brian
 
Pete Letkeman
Ranch Foreman
Posts: 898
26
Android Chrome IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, welcome to Brian King to CodeRanch. I'm glad that decided to stop by.

Some people, including Jeanne Boyarsky, have within the last month or two have suggested Head First Java.

That being said, are you interested in things from a Java point of view or are you interested in things from a different [language here] point of view.
I ask because the are some resources out there for C#, NodeJS, JavaScript, Python etc developers who want to know Java and may be able to help you out.

One last question to help clarify things, what is your prior experience with programming and/or Java programming?

I would prefer not to point you in the wrong direction, which is why I ask.
There is no wrong answer and you are free to ignore these questions as well.
 
Pete Letkeman
Ranch Foreman
Posts: 898
26
Android Chrome IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may have missed this, I know that I did not see it the first few times I was on this site.

https://coderanch.com/c/books

There are some book and resource reviews, but not all of it is regarding Java.
 
Brian King
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pete,

Thanks for the response.  I've taken Java I and am currently signed up for Data Structures and Abstractions.  I read chapter 1 last night and there's a lot of back and forth between methods, classes, and the like where I'm getting confused.  I sort of just got through Java by following the book, looking online, and the like without ever really understanding it conceptually. 

To answer your question, my data structures class uses Java but overall I'm interested in these things conceptually and how to form a mental map in my mind.

Thanks,
Brian
 
Pete Letkeman
Ranch Foreman
Posts: 898
26
Android Chrome IntelliJ IDE Java MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that this may be a good resource for you
https://coderanch.com/t/613022/books/Object-Oriented-Thought-Process-Edition
It appears to have fairly good reviews on Amazon as well.

That being said, I have not used this book.

It looks like the concept that you are currently researching is polymorphism.

Sorry I could not be of any more assistance with this.
 
Pete Letkeman
Ranch Foreman
Posts: 898
26
Android Chrome IntelliJ IDE Java MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, and there is this campfire post as well

https://javaranch.com/campfire/StoryPoly.jsp
 
Brian King
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the suggestions.  Somewhat coincidentally, I ordered The Object Oriented Thought Process a few days ago. 

I appreciate the help!

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!