Connecting Tech Pros Worldwide Forums | Help | Site Map

Errors

Needs Regular Fix
 
Join Date: Jan 2007
Posts: 281
#1: Dec 14 '07
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's Avatar
Member
 
Join Date: Oct 2006
Posts: 118
#2: Dec 14 '07

re: Errors


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
Needs Regular Fix
 
Join Date: Jan 2007
Posts: 281
#3: Dec 14 '07

re: Errors


Quote:

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
BigDaddyLH's Avatar
Moderator
 
Join Date: Dec 2007
Location: Kelowna, BC Canada
Posts: 1,212
#4: Dec 14 '07

re: Errors


Quote:

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"?
Needs Regular Fix
 
Join Date: Jan 2007
Posts: 281
#5: Dec 14 '07

re: Errors


Quote:

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.....
BigDaddyLH's Avatar
Moderator
 
Join Date: Dec 2007
Location: Kelowna, BC Canada
Posts: 1,212
#6: Dec 14 '07

re: Errors


Quote:

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.
Reply