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
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is amode(24)?
For rewrite, why is it mandatory that file needs to be opened?
What do you understand by psb and acb?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Explain the configuration section of a cobol program with examples of syntax.
Write down the divisions of cobol program?
How do you differentiate between cobol and cobol-ii?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
how do you reference the ksds vsam file formats from cobol programs
Why would you use find and get rather than to obtain?
What are the different types of condition in cobol and write their forms.