1. What is the length of the following array: byte[] data = { 12, 34, 9, 0, -62, 88 }; 2. for(int i=0; i<10; i++) numbers[i] = 2 * i + 1; Which index of the array holds the value of 5? 3. int [] arr1= {1, 2, 3}; int [] arr2 = {1, 2, 3}; if(arr1[0] == arr2[0]) System.out.println("Same"); else System.out.println("Not same"); 4. What is Array ? Name the two types of array. Answer all [ 4 x 2 = 8 ] [Write variable descriptions] 4. Write a program to store 10 numbers in an array. Arrange these in descending order by sorting. Print the sorted list. 5. A class teacher wants to keep the records of 40 students of her class along with their names and marks obtained in English, Hindi, Maths , Science and Computer Science in separate single dimensional array. When the teacher enters the name of a student as an input, the program must perform linear search and display the name, marks obtained in the 5 subjects and the total. Write a program in Java to perform the task. ------ X -----
Answers
Answered by
2
Answer:
write an email to a DJ, requesting him/her to organise a musicalsegment as part of the fete.
Answered by
0
Answer:
6hffjffhkfdgnjsdhjkhdsfhn
Similar questions