Search:

Type: Posts; User: ms_ceng

Search: Search took 0.28 seconds.

  1. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    ornek is an instance of a class, ornek is my object that i defined to use and
    that line one of its values have been set


    i think i found error point there is a part of code below i need to...
  2. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    356 gidilen=0;
    357 ornek.set_g(gidilen);


    these are snippet of my code yes it has zero value not null i need to set zero value for my zero step in algorithm. why does java suppose that it...
  3. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    sorry for huge exceptions :(
  4. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    yes it is working after i changed Arraylist to ArrayList and deleted my Arraylist class :)

    Now i finished my artificial intelligence lecture homework project but i m getting this exceptions.

    ...
  5. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    thanks for greet answer o:-):o
  6. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    :)>- it is ok so sorry problem is that i wrote Arraylist not ArrayList X_X
  7. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    Exception in thread "main" java.lang.NullPointerException
    at yuzswing.denem.Arraylist.add(Arraylist.java:10)
    at yuzswing.denem.ArrayListDeneme.main(ArrayListDeneme.java:10)


    when i click...
  8. Replies
    15
    Views
    2,409

    Re: Creating Arraylist of Arraylist

    first i tried to create type of string before use my object but i couldnt do it what is my problem in my code?

    my class is:


    import java.util.ArrayList;

    public class ArrayListDeneme {...
  9. Replies
    15
    Views
    2,409

    Creating Arraylist of Arraylist

    I have an algorithm problem and i have created a class for my objects

    hard problem is how can i create a matrix that has increasing size and every rows in matrix is also increasing

    for...
Results 1 to 9 of 9