Thank you, I meant to make an array that can hold 5 items but I think I got confused since I only had 2 classes that I wanted it to hold. Appreciate the recommendations, will try my best to implement...
Type: Posts; User: Terty_Tree
Thank you, I meant to make an array that can hold 5 items but I think I got confused since I only had 2 classes that I wanted it to hold. Appreciate the recommendations, will try my best to implement...
No idea what is happening and why it's not working. New to the concept of polymorphism.
public class main{
public static void main(String[] args){
a cOb[] = new a[2];
cOb[0] = new...
Oh wow, thanks. I just figured out what you were saying. As I said I'm a complete noob but it makes a lot of sense now! I believe this is gonna be a huge help to me in all future projects.
---...
I used to have it on getTime but my friend changed it to setTime when he took a look at it, he's slightly better than I am in this but no pro. Thanks for the reply! :-D
What method can I use...
When I run everything that's in the puppy class it runs just fine, so I can't quite really understand why it can't just work the same. What do I have to use instead of System.out.println in this?
Hi, I'm brand new to Java and I've just been making simple projects to get into the swing of things. So far I've had reasonable success but I can't figure out what the problem is with this code. I...