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

Answers were Sorted based on User's Feedback



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

Answer / ragahvendra

Cobol is a structured language where as Java is a High level
and Object oriented Language. Cobol has extensive facilities
for report generation.

Is This Answer Correct ?    15 Yes 3 No

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

Answer / vish

What I believe is that COBOL was actually the prime
business language and used extensively for mainframes batch
systems (although it is used recently in UNIX servers too
which are in most cases migrated from mainframe system to
UNIX systems). At present we have more powerful languages
available than COBOL which can of course provide more value
add for a system development. But still COBOL continues to
be the primary development language for mainframe systems,
some of the reasons could be:
1. Almost all the existing big legacy systems were
developed using COBOL. Now converting these systems to
other languages is a very costly business.
2. Most of the legacy systems using COBOL are batch systems
(although they have online components using mostly CICS)
and COBOL well serve the very purpose efficiently.

Any comments/suggestions are welcome!!!

Is This Answer Correct ?    5 Yes 0 No

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

Answer / 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

More COBOL Interview Questions

I have a File that has duplicate records. I need only those records that occur more than thrice.?

4 Answers   IBM, Wipro,


if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,


Can we call a CICS program from a batch program or viceversa?If so, how?

3 Answers  


Can 88 level variable be declared in FD section..?

1 Answers   Infosys,


subscript and index r not coded in u r application program what will happen?

2 Answers  


what is the advantage of using redefines instead of delaring the variables ?

5 Answers   HCL,


How many types of sorts are there in cobol?

5 Answers   Cap Gemini,


How to pass return codes from cobol to jcl?

5 Answers  


what is s000 u4087 error? please give the all error codes in cobol,jcl.

1 Answers  


Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 Answers  


Explain about different table spaces.

1 Answers  


can we use COPY statement in w-s section? how?

3 Answers  


Categories