In: Computer Science
Why is java programming better than bash scripting. Why should programmers write in java code ? Come up with situations where java is a better option.
Java programming is better than the bash scripting because java is object oriented programming language where designing software is easy comparitively as it breaks the execution process down to small chunks . And it is independent programming language. Where as bash has slow execution speed,and not well suited for large and complex task
The programmers like using Java programming language because the code written in the java can be run anywhere that is compiled code can run on any platform supported by java.And it is easily maintainable, can easily write the code , compile and debug
The situation like this make java better option
If we want to execute our code in different platforms java programming is best as it can be executed in any platform supported by it. It can be achieved by using JVM which is known as java virtual machine.
For beginners also to learn the programming and make small applications or applets it will be easy to learn and implement the java programming .
For handling real world complexities java will be the best option,its easier to think about objects and classes.