What are differences between COBOL and java ? why we are giving more preference to COBOL ?

Questions by prem123   answers by prem123

Showing Answers 1 - 6 of 6 Answers

sanneboyina

  • Apr 26th, 2006
 

hello plz give the answer for this questions as early as possible

  Was this answer useful?  Yes

hari prasad

  • May 18th, 2006
 

cobol and JAVA are two different schools of thought to get a thing done.COBOL is a language witha good amount of history.It was developed for the busineess community at large.So its features are more bent towards number crunching and file ops.COBOL WAS designed when computer-time was more precious time than the programmer time.So ppl used to write their programs in punched cards ,with correct postions.Like part-A,Part-b..etc.But as comupting developed computer time became increasingly cheap and programmer time costly.This is evident by the amount of salaries paid to us today.So Java being relatively a new language .The emphasis was on reusability and such stuff....Java was also designed to tap the power of internet.At the time COBOL was designed internet was unheard of.I think the environment in which these languages were desingned define the differences.And coming to your next question.More preference is being given to COBOL becoz....true COBOL programmers are a rare commodity .There may be ppl who may get a 'hello world' printed,but ppl knowing COBOL in and put are very scarce.But there are already huge mainfrmaes in place which can use on;y COBOL.So there is a heavy requirement for these guys/gals.Did I solve ur problem?U sounded very tense?Do revert back in case of further questions.

  Was this answer useful?  Yes

With Java you can do the same as with COBOL using just a core + you can utilize primitive variables(or primitive data types), objects(plz note that objects are also considered data types) and abstract data types while COBOL can only deal with primitive variables.

Java is the higher-level programming language than COBOL hence it is slow compared to COBOL which is a low-level programming language for example like C

Java is a young language compared to COBOL so there's always new features, classes and packages will add-on as well as compiler features to improve speed and versatility.

  Was this answer useful?  Yes

vasu

  • Dec 1st, 2006
 

the hari prasad answer is very good and intersting answer.

thank u hari prasad.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions