Search:

Type: Posts; User: jonathanfox

Search: Search took 0.10 seconds.

  1. Thread: 2d arrays

    by jonathanfox
    Replies
    5
    Views
    1,936

    Re: 2d arrays

    Cheers bud, once i know how to do 2d arrays i should be fine :)
  2. Thread: 2d arrays

    by jonathanfox
    Replies
    5
    Views
    1,936

    Re: 2d arrays

    The whole coordinate shit and how you populate certain areas on you 2d array with integers or characters, like say im doing a sudoku puzle, how the hell do i populate the grid with random numbers in...
  3. Thread: 2d arrays

    by jonathanfox
    Replies
    5
    Views
    1,936

    2d arrays

    hey, I was wondering if anybody knows of any good websites or exercises for learning 2d arrays, im studying for my college repeats and one of the main things that will be on the test is a 2d array...
  4. Replies
    4
    Views
    2,142

    Re: Calling upon methods

    think i know what im doing wrong now, when i use a method i create i never make a new object that uses the method, hopefully that made sense
  5. Replies
    4
    Views
    2,142

    Calling upon methods

    Hey guys, hows it goin
    im pretty new to java and programming, ive gotten better at writing methods individualy, however if i get a big project that uses a good few methods and within other methods...
  6. Replies
    11
    Views
    2,050

    Re: Help im a java noob!

    hey left it a day and came to it and finally solved it thanks guys :D
  7. Replies
    11
    Views
    2,050

    Re: Help im a java noob!

    ive been thinking about this and i think i know a way, but is a function the same as a method? could i return a method ? or do i sound really stupid haha
  8. Replies
    11
    Views
    2,050

    Re: Help im a java noob!

    i know i should return the second list aswell put im not sure how to theres a lot of small things in java i have to learn
  9. Replies
    11
    Views
    2,050

    Re: Help im a java noob!

    import java.util.ArrayList;
    public class Split
    {
    private ArrayList<Integer> numbers;

    public Split()
    {
    numbers = new ArrayList<Integer>();
    numbers.add(1);
    numbers.add(5);
  10. Replies
    11
    Views
    2,050

    Re: Help im a java noob!

    o ya sry stupid mistake, but how do i split the list in two? id say ill hav to make another two lists?
  11. Replies
    11
    Views
    2,050

    Help im a java noob!

    Hey everyone im stuck on a java problem and i could use some help

    public class Split
    {
    private ArrayList<Integer> numbers;

    public Split()
    {
    numbers = new ArrayList<Integer>();...
  12. Re: dunno how to test this code so i dont know if it works help please

    it works :D, thought the answer for it was way too easy but screw it it does what its supposed too, thanks guys
  13. Re: How do i remove a substring from an element in an array

    okay first of all how do i post my code neatly like yours and ill show u the question we were given, ur code is hard to understand cus im terrible at java, and i didnt post all the code.

    In a...
  14. Re: dunno how to test this code so i dont know if it works help please

    I tried doing that but when i made two sets and gave them values and tried to use the method , it said "cannot return value that is void"
  15. How do i remove a substring from an element in an array

    for(int i=0;i<entries.size();i++){

    //if it has java or the correct answer it will say its valid
    // if not it will remove the element from the array

    if(entries.get(i).contains("java")){
    ...
  16. dunno how to test this code so i dont know if it works help please

    public class match
    {
    public int match(Set<Integer> myNumbers, Set<Integer> winningNumbers)
    {


    myNumbers.retainAll(winningNumbers);
    return myNumbers.size();
    }
    }
  17. Replies
    0
    Views
    747

    Hi everyone

    hey guys im here cus i need some extra help with java to pass my first year of college
Results 1 to 17 of 17