using package in main() method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • miller587
    New Member
    • Nov 2007
    • 10

    using package in main() method

    I am trying to format numbers in an output using 3 sub classes and methods. Having trouble. I am using a package to do this I have imported the package. Any thoughts would help.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by miller587
    I am trying to format numbers in an output using 3 sub classes and methods. Having trouble. I am using a package to do this I have imported the package. Any thoughts would help.
    My thoughts: "what the f*ck should those troubles be?"

    kind regards,

    Jos

    Comment

    • sukatoa
      Contributor
      • Nov 2007
      • 539

      #3
      Originally posted by JosAH
      My thoughts: "what the f*ck should those troubles be?"

      kind regards,

      Jos
      Maybe he forgot to read the How to ask a question...

      stay calm jos, :)

      sukatoa

      Comment

      • BigDaddyLH
        Recognized Expert Top Contributor
        • Dec 2007
        • 1216

        #4
        Originally posted by JosAH
        My thoughts: "what the f*ck should those troubles be?"

        kind regards,

        Jos
        Years ago, when I was teaching programming, I realized that many of my students first needed to learn how to:
        1. Ask a question
        2. Answer a question
        3. Take notes
        4. Read a textbook
        5. Analyze a problem
        6. etc...

        But if I tried to address all that we'd never get to programming!

        In these forums and elsewhere, like http://forum.java.sun.com/index.jspa?tab=java
        I see lots of hopelessly vague initial posts -- it's hard to even call them questions. Forum members should refuse to answer them until the original poster starts making sense, but what happens is that forum members start taking wild stabs in the dark at what the poster may have been thinking of, but these guesses are all over the place. We should stand firm and insist posters learn how to ask a question.

        Comment

        • JosAH
          Recognized Expert MVP
          • Mar 2007
          • 11453

          #5
          Originally posted by BigDaddyLH
          We should stand firm and insist posters learn how to ask a question.
          I sympathise with that but I'm afraid it's not going to work; e.g. look at the troll
          threads: while people have been told not to feed the troll, those threads are the
          liveliest threads around.

          It sort of makes me giggle when a poster starts writing about databases, web
          applications, vague third party technologies and what have you and finally their
          question is about 'NoClassDefFoun dError' or 'Illegal start of expression' :-)

          kind regards,

          Jos

          Comment

          • BigDaddyLH
            Recognized Expert Top Contributor
            • Dec 2007
            • 1216

            #6
            Originally posted by JosAH
            It sort of makes me giggle when a poster starts writing about databases, web
            applications, vague third party technologies and what have you and finally their
            question is about 'NoClassDefFoun dError' or 'Illegal start of expression' :-)

            kind regards,

            Jos
            I feel sorry for them. There are often taking a class and are told to dump everything into JSP scriptlets, and it becomes clear that they don't know anything about Java, don't know anything about even the paradigm behind web applications, and don't know anything about databases. Why do their instructors do that to them?

            Comment

            • sukatoa
              Contributor
              • Nov 2007
              • 539

              #7
              Originally posted by BigDaddyLH
              I feel sorry for them. There are often taking a class and are told to dump everything into JSP scriptlets, and it becomes clear that they don't know anything about Java, don't know anything about even the paradigm behind web applications, and don't know anything about databases. Why do their instructors do that to them?
              Maybe their instructors were also like them when they're student....

              Hopefully not,
              sukatoa....

              Comment

              Working...