Working with Array and String — Formula Sheet
Gujarat Board · Class 12 · Computer Studies
14 formulas from Working with Array and String (Gujarat Board Class 12 Computer Studies) on one page, grouped by topic.
Interactive on Super Tutor
Studying Working with Array and String? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for formula sheet and more.
Free trial, no card needed.
Formulas and Key Relations
Array Basics
<data type> <array name>[]; or <data type>[] <array name>;
int marks[]; marks = new int[5];
int marks[] = new int[5]; or int[] marks = new int[5];
int marks[] = {90, 70, 77}; or int[] marks = {90, 70, 77};
2-D Array
5 × 3 = 15
5 × 3 = 15 integers = 60 bytes
Arrays Class Methods and Search
java.util.Arrays.sort(list, 1, 5)
fill(list, 7)
fill(list, 2, 6, 5)
String Class
String()
String(char ary[])
String(char ary[], int start, int len)
String(String strObj)
String(string literal)
Full sheet with units and worked examples
View AllFrequently Asked Questions
What are the important topics in Working with Array and String for Gujarat Board Class 12 Computer Studies?
How many formulas are in Working with Array and String?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Working with Array and String
For serious students
Get the full Working with Array and String chapter — start free.
Quizzes, flashcards, an AI doubt solver and a study plan for Gujarat Board Class 12 Computer Studies. Free to start, no card needed.