Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Beginner
Feb 12, 2001

Problems With Using Duplicate Variables


Most beginners accidentally declare duplicate variables of different data types or of the same data types. The following illustrates this:
 
class Duplicate
{
        String data;
        private void fun()
        {
                String data=
M.V. Prem
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap