adplus-dvertising
frame-decoration

Question

How are automatic variables different from the instance variables?

a.

Automatic variables are initialized automatically but instances are not

b.

Automatic variables are given zero values initially and not instances

c.

Instance variables have to be initialized explicitly and automatic implicitly

d.

Instance variables are initialized implicitly while automatic are not

Answer: (d).Instance variables are initialized implicitly while automatic are not

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How are automatic variables different from the instance variables?