What is a method declaration?
Answer / Rishi Kumar
A method declaration in Core Java specifies the name, return type (if any), and parameters of a method. It also includes the method's body that contains the code to be executed when the method is called. Example: public static void main(String[] args) { ... }. In this case, 'main' is a method declaration.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why set is used in java?
Say any two properties in beans?
What is regex java?
When can you say a graph to be a tree?
How many types of classes are there in java?
What is a platform?
Tell some latest versions in JAVA related areas?
What is skeleton and stub?
Can we have a try block without catch block?
What causes memory leaks in java?
what are the analysis of an object
Can we force the garbage collection to run?