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 to access the file from prodution from changeman tool and to submit a file to production

6666


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

4039


what is amode(24), amode(31), rmode(24) and rmode(any)?

688


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

670


What is an in line perform? When would you use it? Anything else you wish to say about it.

639






What the difference is between continue and next sentence?

651


What is the difference between comp and comp-3 usage?

670


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1017


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

1833


Which is not true about evaluate statement

1564


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

650


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

690


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

697


What are declaratives and what are their uses in cobol?

702


What is the usage of comp fields in cobol?

649