Jagged Arrays in C# Interview Questions 2019-2020-21 - 1
Question: 1
Define Jagged Array?
A Jagged array is an array of arrays in which the length of each array can differ.
A Jagged array can be used to create a table in which the lengths of the rows are not same.
A Jagged array are declared by using sets of square brackets to indicate each dimension.
Question: 2
What are the features of array?
An array may hold at most the number of elements specified by its size.
Elements are stored in the consecutive memory locations.
Accessing of array element by its subscript is easy.
Array may be one dimensional or multidimensional.
Arrays may be regular or jagged.
An Array instance created is always an array type.
Question: 3
Can you store multiple data types in system.array?
No
Question: 4
What is the advantage of using System.Text.String Builder over System.String?
String Builder is more efficient in the cases, where a lot of manipulation is done to the text.
Strings are immutable, so each time it is being operated on, a new instance is created.
Question: 5
What does the term immutable mean?
The data value may not be changed.
Note: The variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory.
TNPSC History Topic Wise Questions Pdf Download More
TNPSC Educational Development in India Class 8 Questions Pdf More
TNPSC Geography Topic Wise Questions Pdf Download More
Social Science Industries Class 8 Questions and Answers More
TNPSC History Rural Life and Society Questions Pdf More
Non Verbal Reasoning Grouping of Identical Figures Questions More
1000+ Aptitude Questions and Answers for Competitive Exams More
TNPSC Group 1, 2, 2a, 4, VAO Syllabus, Notification, Question Bank Pdf More
Top 25+ Core Java IO Interview Questions and Answers More
Top 10,000 Gk Questions More