In Java, variables must be declared before they are used. The correct declarations of string variable s are:
There are several ways to declare and initialize a string variable in Java. Some of them are:
By comparing the above variable declaration formats, to the list of given options; the correct declarations of string variable s are:
A. String s; s = "fortran";
B. String s = "fortran";
E. String s = ("fortran");
Read more about variable declarations at:
https://brainly.com/question/12987017