y cant i declare method like public final static show()
Answers were Sorted based on User's Feedback
Answer / karthi
Return type of the method is missing
ex:
public final static void show(){}
now it ll work.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / raghavendra singh
every method declaration must has one return type(even void)
just before their method name.without return type method has
no meaning.so add some return type also here.
that's why i can't declare method like public final static
show()
| Is This Answer Correct ? | 1 Yes | 0 No |
How will you compute size of a structure?
How can you reverse a string?
What are the 6 mandatory procedures for iso 9001?
what is dynamic method dispatch ?
27 Answers Fidelity, MUET, SDSF,
Ducking is automatic in checked exception?True or false
Is java free for commercial?
What are 3 boolean operators?
What are parent methods and how can you call them?
Why singleton class is used in java?
How do u pass data from one jsp to another jsp?
What is the access scope of a protected method?
What do you understand by private, protected and public?