Hello everyone, first i want to thank anyone who will help and guide me through this problem I am having.
- My first issue is with the "enum CustomerType", in my Customer.java class I am required...
Type: Posts; User: Charlie.beat
Hello everyone, first i want to thank anyone who will help and guide me through this problem I am having.
- My first issue is with the "enum CustomerType", in my Customer.java class I am required...
Ok, dang feels like I am lost here, its a bad feeling, sorry for the dumb headed mistakes.
But, is this somewhere along the right direction?
public class PhoneTest
{
public static void...
So like something like this?
public static void printBill (Phone p[])
{
for (Phone m:myPhones)
{
then the main method calls printBill
Yes, what I am trying to do is for Method printBill prints the the information for each instance to the system prompt as follows:
Type Minutes $xxx.xx x/x/xxxx
Type ...
Thank you, in regards to printBill, this is the part that will output the Type, Minutes, monthly charge and the bill date. Where Type is the type of phone (cell or land line), Minutes is minutes used...
Awesome, now in regards to printBill, thats the one thats going to print all the information in the way the requirements requires me to do correct?
Ok i finally got some output back:
I made this change
for (Phone m:myPhones)
{
System.out.println(m.toString());
}
Ok got it, I am glad to see that it finally compiled, but I get this in my output:
new-host-3:desktop carlosalvarez$ java PhoneTest
[[Ljava.lang.String;@33f42b49
[[Ljava.lang.String;@33f42b49...
Wow you have definitely been a great help today, feels like I am getting somewhere now.
I believe i have all the things I needed to fix up to right now done, now in regards to the the to call the...
Scratch that, I managed to fix the new Date to
if (d[i][0].equals("Cell"))
myPhones [i] = new CellPhone (d[i][1], d[i][2],
new Date...
Got it I made the changes needed. Thanks alot for your input, I''ll post my PhoneTest class to see if my changes are correct in regards to your response.
public class PhoneTest
{
public...
Hello Everyone, everything has been going good with the whole JAVA learning process until today. I have been working on Inheritance and have not been able to complete this project.
My problem is...