Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37754

Re: Please help

From Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas)
Newsgroups comp.lang.java.programmer
Subject Re: Please help
Date 2017-12-07 07:10 +1200
Organization fsxNet Usenet Gateway | bbs.geek.nz/#fsxNet
Message-ID <3191932149@f38.n261.z1.binkp.net> (permalink)
References <835507970@f38.n261.z1.binkp.net>

Show all headers | View raw


On Thursday, December 7, 2017 at 9:02:27 AM UTC-5, rust...@gmail.com wrote:
> I`m doing a Uni course using BlueJ and i`m really stuck i have to....
>
> In the class M250Account:
> (i) Declare a private instance variable of type String called accountNum.
>
> (ii) Edit the constructor for M250Account so that it initialises the
accountNum instance variable to the account number "X00000".
>
> (iii) Write a getter method for the accountNum instance variable.
>
> but i don`t know how to start. i`ve already created a new class M250Account

That sounds about as basic as it gets.  Have you tried the tutorial?
https://docs.oracle.com/javase/tutorial/

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 06:02 +1200
  Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 07:10 +1200
    Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 07:33 +1200
      Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 08:22 +1200
        Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 08:31 +1200
          Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 08:54 +1200
            Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 09:29 +1200
              Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 10:11 +1200
            Re: Please help Kiwi User <martin@mydomain.invalid> (Kiwi User) - 2017-12-07 18:04 +1200
              Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 10:14 +1200
                Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 10:36 +1200
                Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 10:44 +1200
                Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 11:04 +1200
                Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 13:35 +1200
                Re: Please help Kiwi User <martin@mydomain.invalid> (Kiwi User) - 2017-12-07 21:22 +1200
                Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 13:32 +1200
                Re: Please help Kiwi User <martin@mydomain.invalid> (Kiwi User) - 2017-12-07 21:48 +1200

csiph-web