Errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shana07
    Contributor
    • Jan 2007
    • 280

    Errors

    Good Day all!

    I am not clear about few errors occur in java programs. Hope anyone can help me to understand them.

    1. Checking error - I understand this error involves with incorrect initialization values which causes wrong iteration/loop. Am I right and are there any examples of checking?

    2. Assignment error - I am confused with Assignment and Checking errors, which I think this error involves with wrong variable values too. Do you guys think there are under same error category?

    3. Relationship error - can anyone tell me what is with this error?

    To me there are all about the same, how can I possibly determine them.
    Thanks a lot for helping me out......god bless you.
  • jeffbroodwar
    New Member
    • Oct 2006
    • 118

    #2
    Assignment error : this occurs when you assign a value to a different type declared variable. example : sum as int.... then you passed 'A' to sum. this will trigger the error.

    Relationship error : i'm not sure with this one.... better wait for others to answer this one.... or you can always check mr. google ^^


    P.S. StarCraft II coming soon.... En taro adun !!!

    Regards,
    Jeff

    Comment

    • shana07
      Contributor
      • Jan 2007
      • 280

      #3
      Originally posted by jeffbroodwar
      Assignment error : this occurs when you assign a value to a different type declared variable. example : sum as int.... then you passed 'A' to sum. this will trigger the error.

      Relationship error : i'm not sure with this one.... better wait for others to answer this one.... or you can always check mr. google ^^


      P.S. StarCraft II coming soon.... En taro adun !!!

      Regards,
      Jeff
      Oh I see. How about Algorithm error? Don't you think that Assignment error is also under Algorithm error?

      One more question - help me to understand these 2 category of programmings:
      " High-level" and "low-level" are also used relatively; a Java programmer might consider C to be a comparatively low-level language. Whereas a C programmer might consider machine code to be of a lower level "- wiki.

      What is low-level programming and is Java low-level programming?

      ~Cheers

      Comment

      • BigDaddyLH
        Recognized Expert Top Contributor
        • Dec 2007
        • 1216

        #4
        Originally posted by shana07
        Good Day all!

        I am not clear about few errors occur in java programs. Hope anyone can help me to understand them.

        1. Checking error - I understand this error involves with incorrect initialization values which causes wrong iteration/loop. Am I right and are there any examples of checking?

        2. Assignment error - I am confused with Assignment and Checking errors, which I think this error involves with wrong variable values too. Do you guys think there are under same error category?

        3. Relationship error - can anyone tell me what is with this error?

        To me there are all about the same, how can I possibly determine them.
        Thanks a lot for helping me out......god bless you.
        (What do you say when an atheist sneezes?)

        Where did you get these terms? They're strike me as vague to the point of useless, and they are hardly Java terminology. Were you instead looking for terms like "syntax error/compile-time error" and "runtime error"?

        Comment

        • shana07
          Contributor
          • Jan 2007
          • 280

          #5
          Originally posted by BigDaddyLH
          (What do you say when an atheist sneezes?)

          Where did you get these terms? They're strike me as vague to the point of useless, and they are hardly Java terminology. Were you instead looking for terms like "syntax error/compile-time error" and "runtime error"?
          Can I say that syntax error/compile-time error & runtime error - are under Algorithm or maybe Function error? Hurmmm.....

          Comment

          • BigDaddyLH
            Recognized Expert Top Contributor
            • Dec 2007
            • 1216

            #6
            Originally posted by shana07
            Can I say that syntax error/compile-time error & runtime error - are under Algorithm or maybe Function error? Hurmmm.....
            Who came up with the terms "Algorithm error" and "Function error"? Never heard of them.

            Comment

            Working...