Results 1 to 3 of 3
  1. #1
    FredJava is offline Member
    Join Date
    Feb 2012
    Rep Power

    Post What have I done wrong

    Ok, so I know a little about Java, C++ (the basics). But importing packages, (correctly) is just utter mind numbing. I don't no what I've done wrong and have been trying to do this for a few hours now. I feel like I'm gettin somewhere but I can't do a simple input.

    What have I done wrong-java.png

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: What have I done wrong

    Recommended reading: How to ask questions the smart way

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power

    Default Re: What have I done wrong

    Don't name packages java.anything as that conflicts with package names used by Oracle. Anything else is fine: people keep their package names from colliding with one another by using "backwards" web addresses like or whatever. But for simple programs you don't expect to ever be used worldwide anything convenient will do.

    Beyond that, post the actual code and say if it results in compiler messages or strange behaviour at runtime. That way there's a specific question we can address.

Similar Threads

  1. Replies: 4
    Last Post: 06-11-2013, 01:37 AM
  2. What is wrong?
    By phantom06 in forum New To Java
    Replies: 2
    Last Post: 02-02-2011, 06:08 PM
  3. can't see where it went wrong..
    By Yakg in forum New To Java
    Replies: 5
    Last Post: 01-31-2011, 12:19 PM
  4. Something is Wrong O.o
    By Spidermonkey in forum Advanced Java
    Replies: 16
    Last Post: 11-14-2010, 04:33 AM
  5. what wrong
    By pro85 in forum New To Java
    Replies: 3
    Last Post: 02-09-2009, 01:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts