Answer:
Following is the code for filter:
public class filter
{ public static void main(String[] args)
{ int x = StdIn.readInt();
System.out.print(" " + x + " ");
while(!StdIn.isEmpty())
{ int y = StdIn.readInt();
if(y != x)
System.out.print(" " + y + " ");
x = y;
}
}
}
Explanation:
- A public class filter is used.
- The main function will accept a single argument as string[], it is also known as java command line argument.
- Now the Stdln.readInt is used to read the integers in the sequence and store it in integer x.
- The value stored in variable x will be printed using System.out.print
- Now unless the Stdln.readInt gets an empty value, check each value of sequence and store in variable y.
- If y is not equal to previous value x, print it and shift the value of y into x.
- Repeat the loop again.
i hope it will help you!
Answer:
Digital literacy
Explanation:
Digital Literacy means having a current knowledge and understanding of computers, mobile devices, the web, and related technologies.
Brainliest plz
Answer:
The answer to this question is given below in the explanation section. The correct answer is A.
Explanation:
The correct answer to this question is:
They restrict access depending on job role.
because the company creates different workspaces for particular departments. Each department allows access to its employee to work and use the assigned resources. Other people from other departments can't use their computers due to security reasons.
However, the following options are not correct.
They connect a company's website with its internal wiki.
They allow a company to organize information. (information is maintained inside in the workspace)
They provide a platform for collaboration.
Answer:
Viruses
Explanation:
virusues are designed to infect and cause damage to operating system files, computer registry, and other locations on the motherboard