This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Get Programming with Java (MEAP only) and have Peggy Fisher on-line!
See this thread for details.
Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java forum!

Ana Yo

Ranch Hand
+ Follow
since Dec 14, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
1
Total given
18
Given in last 30 days
2
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ana Yo

Carey Brown wrote:

Ana Yo wrote:I wish I could type it in then I wouldn't need to ask but they don't give us the Cellphone and MobilePhone class as shown in the picture. If you would have paid more attention, maybe you would've realized that I can't type it in a computer:)

The page you photographed has the Cellphone and MobilePhone class. Am I missing something? Did I miss that you don't have access to a computer with Java installed on it?


They didn't give us all the methods for the two classes, therefore it would be incomplete if I typed it in my laptop, resulting in compile/runtime errors.
13 hours ago

Carey Brown wrote:Have you tried typing it in and compiling it? Show some effort.


I wish I could type it in then I wouldn't need to ask but they don't give us the Cellphone and MobilePhone class as shown in the picture. If you would have paid more attention, maybe you would've realized that I can't type it in a computer:)
13 hours ago
Also,can you check out my other recent posts? Thank you so much for your help!
15 hours ago
Can someone help me with my mistakes? or rewrite a better one?
15 hours ago
Will it return an empty string?
15 hours ago
Can you do empty.substring(6)?
16 hours ago

Campbell Ritchie wrote:You're not going to like this, but you could simply delete the entire constructor. Or initialise the List in that constructor. But you will have to correct the other constructor too.


Can you help me fill it in and I will learn from it? That's how I usually learn especially since this is through messages. If it were one to one talking I would have more time.
16 hours ago
I wish I could but my teacher gave us this outline and we have to follow it.
16 hours ago
The only three methods I'm not sure about is:

Someone want to help me? I've been doing this code for two days.
   
16 hours ago
How do I fix it?
16 hours ago
Why did I get this error and how should I fix it?
Exception in thread "main" java.lang.NullPointerException
at Hand.numberOfCards(Hand.java:28)
at Hand.main(Hand.java:117)

17 hours ago
I copied and pasted the shell of what our teacher gave us. Please go with it, I'm confused as you are.
17 hours ago