This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Automatic Variable vs. Local Variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Automatic Variable vs. Local Variable" Watch "Automatic Variable vs. Local Variable" New topic

Automatic Variable vs. Local Variable

Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Is an automatic variable the same as a local variable? Is there any way in which the two are different?

SCJP Tipline, etc.
Rick Salsa
Ranch Hand

Joined: Jul 17, 2001
Posts: 173
Hi Corey,
They are both the same. Just more than one name to confuse you....
I agree. Here's the link:
subject: Automatic Variable vs. Local Variable