What is a local variable?

July 28th, 2009 by uCertify Leave a reply »

A local variable is defined inside a block or a method. The lifetime of such a variable is limited by the lifetime of the block in which it is enclosed. It is necessary to initialize a local variable; otherwise, a compile time error will occur. If the same name is used for an instance variable as well as for a local variable, the variable with the local scope will get priority inside the block.

  • Pass Master CIW Enterprise Developer in first attampt.
  • Get certified in first attempt download scbcd - SCBCD simulation.
  • Click here to get free scdjws SCDJWS exam practice questions.
  • Download practice question and study guide for scja for exam.
  • Click here to download scjp test study guide and practice question.
  • Download free practice test for scjp-5-0 SCJP 5/6 exam.
  • Click here to get free scmad SCMAD exam practice questions.
  • Download free practice test for scwcd SCWCD exam.
  • Download practice question and study guide for CX310-019 for exam.
  • Download practice question and study guide for CX310-055 for exam.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.