Answer:
- public class Main {
-
- public static void main (String [] args) {
- int[][] myArray = {{1,5,6}, {7, 9, 2}};
- fixArray(myArray, 1, 2, 12);
-
- System.out.println(myArray[1][2]);
- }
-
-
- private static void fixArray(int[][] array, int row, int col, int value){
- array[row][col] = value;
- }
- }
Explanation:
The solution code is written in Java.
Firstly, create the method fixArray with that takes four inputs, array, row, col and value (Line 11). Within the method body, use row and col as index to address a particular element from array and set the input value to it (Line 12).
Next, we test the method in the main program using a sample array (Line 4) and we try to change the row-1 and col-2 element from 2 to 12 (Line 5).
The print statement in Line 7 will display 12 in console.
Answer:
File format:
The file format basically describe the main structure of the data. It is the standard way for designing the different types of data in very particular file format. The information is basically encoded in the computer file as storage.
There are different types of file format such as:
- Word document
- Web page image
- Adobe post script file
- Multimedia file
Protocol is basically define the proper procedure for handling the different types of the data in he database. It is the set of guideline and rules are are specifically used in communication in the form of data or information.
Before sharing a presentation you can control the personal information user can see by inspecting the file -This statement is true
Explanation:
A power point Presentation is the display of information that you want to communicate to the audience.The power point tools enables an user to not only display information but also various chats,images,graphs can be displayed using the the PPT technology.
The most important difference between a word and Power point is that in power point presentation all the data can be displayed to the target audience in a flow,whereas a word document is only meant for the reference purpose.
A power point presentation is a precised form of a word document
Before sharing a presentation you can control the personal information user can see by inspecting the file -This statement is true