Variables

Advertisements
Advertisements
Advertisements3
Advertisements4
Advertisements6
Advertisements66

1. What are the three main parts of a variable in Java?

Ans.  Value, type, identifier.

2. What is the scope of a local variable in Java?

Ans. Within the method in which it is declared.

 
 

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