What is a way to append a value to an array?

Answer Posted / shailendra shukla

String AnswerArray[];

AnswerArray=new String[50];

Int Index=1;

AnswerArray[Index]=Test;

Is This Answer Correct ?    5 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the different types of pop up boxes in Javascript?

530


How to find radio button selection when a form is submitted?

453


What is difference between api and library?

489


What does "1"+2+3 evaluate to?

565


Is javascript array dynamic?

491






Where do I put javascript in html?

446


Should you disable javascript?

489


Can you put javascript in html?

468


What is called variable typing in javascript?

526


Write the code for adding new elements dynamically?

602


How can javascript language be separated from objects?

544


How to modify the url of the page without reloading the page?

498


How to force a page to go to another page using javascript ?

525


Can you give an example showing javascript hoisting?

461


What is the ‘Strict’ mode in JavaScript and how can it be enabled?

567