Defining Methods & Passing Information

Advertisements
Advertisements
Advertisements3
Advertisements4
Advertisements6
Advertisements66

1. The signature of a method in Java includes ________________

Ans. Method name, return type  and parameter types.

2. Which keyword in Java is used to indicate that a method does not return a value?

Ans. void.

 

 
 

Author: Lakshmi Prasanna Ponnala

Completed M.Tech in Digital Electronics and Communication Systems.

Leave a Reply

error: Content is protected !!

Discover more from ece4uplp

Subscribe now to keep reading and get access to the full archive.

Continue reading