aspose file tools*
The moose likes Other Languages and the fly likes Difference in local & automatic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Difference in local & automatic" Watch "Difference in local & automatic" New topic
Author

Difference in local & automatic

Vishnu Sharma
Ranch Hand

Joined: Feb 03, 2010
Posts: 55
What is difference between Automatic variable & Local variable??
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Both are same. variables declared inside methods are called local or automatic.


Life is easy because we write the source code.....
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
Ot also stack variable.


JDBCSupport - An easy to use, light-weight JDBC framework -
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14345
    
  22

The term "automatic variable" comes from the C programming language. It's not a term that used in Java.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39828
    
  28
Moving to "other languages" forum. Beware of the moderator there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference in local & automatic