51.6k views
0 votes
The method with the declaration public static char procedure(double d) has a method type of . a) public b) static c) char d) double

1 Answer

7 votes

Answer:

Option(c) is the correct answer for the given question .

Step-by-step explanation:

Public is the access modifier not a method type so option(a) option is wrong.

Static is not return type static keyword before the method of procedure means it is directly accessed with the help of class name so option(b) is also wrong.

double is the datatype of variable d it is not the method type so option(d) is also wrong

So char is the method type of the method procedure.

Therefore option (c) is the correct answer.

User Colinfang
by
7.2k points