Answer:
The output of this code can be given as follows:
Output:
Here There Everywhere
But notin Texas
Explanation:
In the give java code a class "Questions" is defined inside this class the main method is defined in the main method we use three print function that can be described as follows:
- In the first print function, we print the message that is "Here".
- In the second and third print function, we use println that print data or message in the next line that is "There Everywhere"
and in the next line "But not" and "in Texas".
Answer:
I guess there isnt any password!
Explanation:
Answer:
it depends
Explanation:
if you are hacking for a purpose that is benefiting the person being hacked, that is ethical hacking. ethical hacking is not illegal, as long as you get permission from the person being hacked.
if you hack someone without their knowledge, that is unethical hacking, and that is in many cases, a crime, and if it has enough of a detrimental effect on a companys process, it could land you into prison and earn you a hefty fine.
ethical hacking is good for testing a networks security, and if all is well, the ethical hacker shouldnt be able to get into a network if it is secured properly.
Answer:
Step 1- Start
Step 2- Take out your shoes
Step 3- Take out the shoe polish
Step 4- Put the shoe polish on your shoe
Step 5- Then polish your shoe
Step 6- Stop
hope this helps
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