Answer:
Following are the code to this question:
if(a == 0) //defining condition
{
System.out.print("no solution for a=0"); //print value
}
Explanation:
In question, it is declared, that a method defined with three double parameters, that are "a, b, and c", inside this method a code is defined, that checks the given value.