File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Languages and the fly likes Difference in local & automatic Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Other Languages » Other Languages
Reply 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: 611

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: 1169
Ot also stack variable.


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

Joined: Aug 16, 2005
Posts: 11225

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 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 25060
Moving to "other languages" forum. Beware of the moderator there.
 
 
subject: Difference in local & automatic
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com