Answer:
Option A: They are supported by short-range wireless communication technologies.
Explanation:
M-commerce is a progression of e-commerce which is being used on vast scale now-a-days like in online shopping, online payments etc.
- As m-commerce applications have facilitated so much, they also support short ranged communication technologies such as Bluetooth which allows the connectivity to internet as well as offers sharing among different devices.
- m-commerce applications are also compatible with 3G and 4G and even they have been promoted in a remarkable way. As these generations provide much faster speed and better connection, they have added much more to the business.
- m-commerce applications don't rely on voice recognition or text-to-text speech as they bother not to know who actually is interested. They rather make sure of payment methods to make the payments secure and certain.
- The m-commerce is totally free from wired protocols as it uses handheld devices including cell phones, tablets or laptops. So that the mobility is ensured.
Yes because you won't have too much light and you won't have too little
In your "count spaces method" before the for loop, you want to declare an int variable (let's call it spc)
then, each time you find that charat, spc++.
also, the string must be declared in the main method, not the spaces count method.
The actual code:
public class CountSpaces{
public static void main(String[] args){
String instring = "(your quote here)";
int spaces = calculateSpaces(instring);
System.out.println("The number of spaces is " + spaces);
}
public static int calculateSpaces(String in){
int spc = 0;
for(int i= 0; i<in.length; i++){
if(in.charAt(i)== ' '){
spc++;
}
}
return spc;
}
}
that should be it. If you have any questions, feel free to reach out.