The correct answer is: A. Java
Java is a general-purpose, class-based, object-oriented programming language designed for having lesser implementation dependencies. It is a compiled language and not an interpreted language. It is a concurrent language and not a sequential language. It is a strongly typed language and not a weakly typed language. It is a garbage-collected language and not a manual memory management language. It is a platform-independent language and not a platform-dependent language.
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. It is a dynamically typed language and not a statically typed language. It is an interpreted language and not a compiled language. It is a weakly typed language and not a strongly typed language. It is not a garbage-collected language and requires manual memory management. It is a platform-independent language and not a platform-dependent language.
COBOL is a high-level programming language designed for business applications. It is a procedural language and not an object-oriented language. It is a compiled language and not an interpreted language. It is a strongly typed language and not a weakly typed language. It is not a garbage-collected language and requires manual memory management. It is a platform-dependent language and not a platform-independent language.
Therefore, the correct answer is Java.