Please tell us a bit more, what do you want to pass and to which method?jake fowler wrote:I am trying to pass input to other class methods.
...pass my input to the credit and debit classes of account or savings or checking
Junilu Lacar wrote:
Notes:
1) Proper use of camel case convention for interestRate
2) Using this.interestRate to refer to the instance member and differentiate it from the interestRate parameter.
3) Deleted the unnecessary instance member, InterestRate
Yes I'm sorry new to this site
All things are lawful, but not all things are profitable.
jake fowler wrote:
I am getting an error in thread "main" java.util.MissingFormatArgumentException: Format specifier '% o'
at java.util.Formatter.format(Unknown Source)
at java.io.PrintStream.format(Unknown Source)
at java.io.PrintStream.printf(Unknown Source)
at Test2.main(Test2.java:33)
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |