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

Is javascript object a hash table?

690


Whether JavaScript has concept level scope?

731


What is enum data type?

661


Define anonymous function.

702


How do you access an element in an HTML document with JavaScript?

700


What does === mean in js?

670


What is the difference between write and writeln in javascript?

646


How to calculate fibonacci numbers in javascript?

694


Which built-in method returns the characters in a string beginning at the specified location?

813


What do you use javascript for?

656


What's the date object using javascript?

743


How to set the focus in an element using javascript?

658


What does question mark mean in react?

649


What is string in javascript?

719


What does _ mean in javascript?

748