Answer:
They are essentially the same physically. Logically, the print jobs are handled differently.
Explanation:
Answer:
import java.util.*;
public class Country
{
public static void main(String args[])
{
char ch,temp;
int flag = 0;
String country;
ArrayList<String> countries = new ArrayList<String>();
Scanner sc = new Scanner(System.in);
do
{
System.out.println("enter the country you have visited:\t");
country = sc.next();
for(int i=0;i<countries.size();i++)
{
if(countries.get(i).equals(country))
{
System.out.println("you have already entered the country");
flag = 1;
break;
}
}
if(flag == 0)
{
countries.add(country);
flag = 0;
}
System.out.println("want to add another country(y/n):\t");
ch = sc.next().charAt(0);
}while(ch!='n');
Collections.sort(countries);
System.out.println("Countries you have visited:\t"+countries);
System.out.println("Total number of contries visited:"+countries.size());
}
}
Explanation:
<h2>double, long, float, short, byte</h2>
Explanation:
The given data types are built-in types. According to java, the following holds right to justify the order.
Double:
- This occupies 64 bits
- It can hold decimal values
- Example: "1.23456e300d, -1.23456e-300d, 1e1d"
Float:
- It occupies 32 bits
- Holds decimal values
- Example: "1.23e100f, -1.23e-100f, .3f, 3.14F"
Long:
- It occupies 64 bits
- Example: "-2L, -1L, 0L, 1L, 2L"
Short:
- It occupies 16 bits
- Stores twos complement integer
Byte:
- Stores twos complement integer
Answer:
it shows number that is near the target figure, but not the actual figure
Explanation:
What Flippy Do Pro reveal about representing a very small number is a number that is near the expected number in value. This is because Flippy Do Pro would not reveal some particular lesser numbers in their precise value.
However, this often results in roundoff blunder, which is mostly caused by the inability of bit compositions to depict the outcome of numbers as it should precisely be.
Answer:
Swipe down in the right corner or for older versions swipe from bottom
Explanation: