i am so sorry i am at the beginner level so i might be asking silly questions because i don't understand what you mean.
PrepaidCard(String id)
Purpose: This constructor has a parameter,...
Type: Posts; User: gagakzs
i am so sorry i am at the beginner level so i might be asking silly questions because i don't understand what you mean.
PrepaidCard(String id)
Purpose: This constructor has a parameter,...
is ok if i leave the class definition just like this?
import java.util.Scanner;
public class PrepaidCard {
private String cardID;
private int tokenBalance = 0;
Scanner addToken...
i am supposed to use the same id for class. but is what you mean by use id2 in object?
can you give me example of args i could do? i am actually confused.
bellow are the questions
(a) Write a complete Java class definition named PrepaidCard to model a game arcade centre‘s prepaid token card. The class information is as described below:
Class...
the value didn't add. but i am trying now using method instead. but i have so many errors. i have no idea what to do.
import java.util.Scanner;
class JavaStatistic {
public...
i am trying to make a program that get input value 1-200 from user.
however i would like to make the program to show warning if the input number is not within the range of 1-200. in the end i would...