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

Answer Posted / kprasad

Few differences I can list down as following
1)Originally and still mostly Cobol is structured prog
langualge. Offcour se there are now a days OOD concepts in
cobol also. Bust still baasically it is structured prog.
lang. On the other hand Object Orientation is the base of
Java.
2) Cobol is developed for and still used for Business
Processing. You can have your business processing modules,
DB interaction modules in cobol. I haven't heard cobol used
for any system level prog or web developement or UIs. But
Java can be used along all layers of application from
presentation to business layers. Also now a days Sun has
developed JMV using Java itself.
3) Cobol compilers are platform dependent I suppose. Java
is platform independent.
4) Cobol is a lunguage as such but looking at the current
developmet Java has become more than a lunguage, a platform.
5) Cobol is not providing not many built in functions,
libraries like java

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you differentiate between cobol and cobol-ii?

651


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2101


Describe the cobol database components?

677


What is difference between static and dynamic call in cobol?

773


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

770






Name the divisions, which are available in a cobol program?

683


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1608


Mention the guidelines to write a structured cobol program?

617


What kind of error is trapped by on size error option?

739


i need a small 3d program using inline and outline.

1630


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1900


What is the difference between external and global variables in COBOL?

811


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1767


i want a program using by if, evaluate , string, unstring, perform, occurs?

4047


how to move the records from file to array table. give with code example

2217