what is the statement specifically called that invokes a method in java?
Answers
Answered by
4
Hey Devershika
Your answer :-
The first argument is the object instance on which this particular method is to be invoked. (If the method is static, the first argument should be null.) Subsequent arguments are the method's parameters. If the underlying method throws an exception, it will be wrapped by anjava.lang.reflect.InvocationTargetException. The method's original exception may be retrieved using the exception chaining mechanism'sInvocationTargetException.getCause()method.
If it helps you mark me as brainlist
Thanks
Have a great day
Your answer :-
The first argument is the object instance on which this particular method is to be invoked. (If the method is static, the first argument should be null.) Subsequent arguments are the method's parameters. If the underlying method throws an exception, it will be wrapped by anjava.lang.reflect.InvocationTargetException. The method's original exception may be retrieved using the exception chaining mechanism'sInvocationTargetException.getCause()method.
If it helps you mark me as brainlist
Thanks
Have a great day
Answered by
2
Answer: A function prototype is alternatively called function declaration. The statement that invokes a function is specifically called function call.
Similar questions