hi ..iam sory iam not ask question in proper way my doudt is it is string or integer or double whatever it is we to add list like i.e i want to add integer i.e 1 to list then i want to add like list.add(1) is it work? or i add like list.add("1"); that means if we try to add an element to list compulsory can i add like string format only ? or directly like list.add(1).
You can use list.add(1)
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.