devxlogo

Problems With Using Duplicate Variables

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=

devx-admin

Share the Post: