Answer:
A power supply tester is specifically designed to test DC voltage on most connectors coming from a PC power supply. A multimeter measures electrical properties such as voltage, amps, and resistance.
Specifications are the technical details about each hardware component
Properties is the information about the file
A complete program with the method ShowCar:
import java.util.Scanner; // header file
public class ShowChar
{
public static void main(String[] args)
{
String lnOfText;
int i;
Scanner input = new Scanner(System.in);
System.out.print("Enter a line of text:");
lnOfText = input.nextLine();
System.out.print(" Enter your index: ");
i = input.nextInt();
show_Char(lnOfText,i);
}
public static void show_Char(String str_a, int i)
{
System.out.print(str_a.charAt(i));
}
}
In this program, both the inputs ie. a sentence or line of text as well as the index position is obtained. A method is written to find the string at that particular position. Finally the method prints that character at the particular index.