Search:

Type: Posts; User: mia_tech

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,280

    Re: why am I getting NullPointerException.

    that was kind of strange, since I get no feed back weather my solution is correct or not. Anyways, here it goes again. If someone could take a look at it and let me know if is correct


    public...
  2. Replies
    9
    Views
    1,280

    Re: why am I getting NullPointerException.

    ok, now I know what spoon-feeding is... I guess by removing my code is a sign that it was correct. Am asking b/c I would like to hear about a better implementation or at least a confirmation that it...
  3. Replies
    9
    Views
    1,280

    Re: why am I getting NullPointerException.

    ok I fixed the code, I think it should look like this


    /** Code removed by moderator */
  4. Replies
    9
    Views
    1,280

    why am I getting NullPointerException.

    guys, why am I getting NullPointerException when initializing the array? I ran debug mode and productName is null


    public class Main {

    public static void main(String[] args) {
    ...
Results 1 to 4 of 4