Search:

Type: Posts; User: BLUEJ

Search: Search took 0.26 seconds.

  1. Replies
    2
    Views
    330

    Peice of code confusing

    Hi,

    I am studying this peice of code used in bluej, it is part of the world of zuul game example but there is this part of it that I want to know what it does. what does the public static etc do,...
  2. Thread: keywords

    by BLUEJ
    Replies
    5
    Views
    283

    Re: keywords

    I want to comment them like this //comment

    but I do not know what to put, could you suggest for each one
  3. Thread: keywords

    by BLUEJ
    Replies
    5
    Views
    283

    keywords

    Hi, could anyone explain what these do..


    lottoticket = new ArrayList<Numbers>();


    qty = numOfLines;


    for(int i=0; i<qty; i++)
  4. Replies
    4
    Views
    312

    Re: what is wrong with my code

    Hi,

    now it prints out this line which is what I want
    ******************************
    ** **
    ** Ticket **
    ** **...
  5. Replies
    4
    Views
    312

    what is wrong with my code

    hi,
    again there is something wrong with my code it comes it with and error and highlights lottoticket.add(new Numbers());
    no suitable method found for add(numbers)

    import java.util.ArrayList;...
  6. Replies
    4
    Views
    332

    Re: what is wrong with my code

    are you talking about does this peice of code executes
    public Ticket(int numOfLines)
    {
    lottoticket = new ArrayList<Numbers>();
    //needs a loop
    for(int i=0; i<qty;...
  7. Replies
    4
    Views
    332

    what is wrong with my code

    when I create an instance of the ticket class and call the method print ticket, it comes up with this,
    1699

    this is my code

    import java.util.ArrayList;
    /**
    * lucky dip lottery ticket...
  8. Replies
    5
    Views
    425

    Re: putting comments in for code

    I commented the code but lost it a long time ago and now forgot what comments to put in the code now
  9. Replies
    5
    Views
    425

    Re: putting comments in for code

    my tutor was like you should start to be able to comment on your code and I did when I started this but I have lost some of it

    basically it is a Numbers class should provide the following...
  10. Replies
    5
    Views
    425

    putting comments in for code

    hi a while back I started to put comments on the code and now I have lost some of them, could anyone help me comment this unfinshed peice of code


    //access to the java.utill.random libary.
    ...
  11. Replies
    2
    Views
    678

    Re: name for project business

    I was just asking what name suits most for my mock app development business, I have an idea, target market but i need to pitch the idea to people at the business fair
  12. Replies
    2
    Views
    678

    name for project business

    Hi

    I have been asked for a project to think of a business idea and pitch at an event
    the idea is an outsourcing app development which isn't new but I just need a name

    the ones I have came up...
  13. Replies
    2
    Views
    526

    im i on the righ tracks

    for our coursework we had to make a lottery random number ticket generator

    The Numbers class should provide the following functionality:
     Generates 6 random numbers in a range 1 to 49.
     Write...
  14. Replies
    5
    Views
    374

    Re: keyword definitions needed

    public class Month
    {
    private int [] months = {31,28,31,30,31,30,30,31,30,31,30,31,99};
    private int[] fib = new int[10];

    public Month()
    {

    }
  15. Replies
    5
    Views
    374

    Re: keyword definitions needed

    hi,

    I did but I do not know if some information is correct for what I need
  16. Replies
    5
    Views
    374

    keyword definitions needed

    Hi, I am new and only just found out this forum

    im doing computing and business in uni and the way the lecture is teach us java allows me to work hard in the lesson but for all techniques and...
Results 1 to 16 of 16