my dog learned polymorphism
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
It's not a secret anymore!