import java.util.Scanner;
public class InchesToFeetInteractive
{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
final int INCHES_IN_FOOT = 12;
int inches = scan.nextInt();
int feet;
int inchesLeft;
feet = inches / INCHES_IN_FOOT;
inchesLeft = inches % INCHES_IN_FOOT;
System.out.println(inches + " inches is " +
feet + " feet and " + inchesLeft + " inches");
}
}
We import the Scanner class and then initialize a new Scanner named scan. We then get an integer representation of inches from the user and calculate the feet and inches from the value entered by the user.
Answer:
The answer is "Option c".
Explanation:
In Java programming, the API stands for "application programming interface", which is also known as the lists of all classes in the JDK. It contains all packages, classes, and interfaces, with their techniques, fields. It is a built-in class, which gives the programmer a great deal of usability, and correct choices can be described as follows:
- In option a, It is correct because it imports the package to use API.
- In option b, It allows you to "re-invent the wheel" by developers, that's why it is correct.
Answer: IT strategy
Explanation: IT(Information technology) strategy is the planning that is used in any particular organization for the management of the resources, functions, operation etc to make sure that stakeholders, employees etc have the same aim of working. This method helps in sustainability and achieving the goals.
Other options are incorrect because network infrastructure is the structure made by the network nodes, SWOT(strength, weakness, opportunities and threats) analysis for the analyzation of organization or person, IT expertise level defines the stages persisting particular skills.Thus the correct option is IT strategy.