Answer:
print("I like to code")
Explanation:
In the Programming Languages, print() function is used to print any string, display any output or both at the same time as well as we can print it one by one. We can also print addition, subtraction, multiplication and other problems directly without saving it in other objects or variables.
In the above statement, the correct method of printing any string is to write that string inside the parameter with a double-quote.
The second option is incorrect because in it double-quote is not used.
The third option is incorrect because the following sequence is not correct.
It may be D) because it is actually a simplified version of Google maps.
Answer:
The answer to your query is Yes and the details are in explanation section.
Explanation:
The general rule video is
- if you have 3 MB speed is enough for normal video.
- 5 MB for HD
- 25 MB for HDR or 4K
For the above it is clear that yes your connection is good enough for videos.
but it lack in HDR or 4K videos.
Answer:
myString=myString.toUpperCase();
Explanation:
In java to change all characters of a string to upper case we use .toUpperCase() method.It will convert string to upper case.
Implementation in java.
import java.util.*;
class Solution
{
public static void main (String[] args) throws java.lang.Exception
{
try{
Scanner scr=new Scanner(System.in);
System.out.print("Enter a string:");
String myString=scr.nextLine();
myString=myString.toUpperCase();
System.out.println("string in upper case : "+myString);
}catch(Exception ex){
return;}
}
}
Output:
Enter a string:hello
string in upper case : HELLO