<em>Answer:</em>
<em>One of the first and main steps in protecting your email is to have a </em><em><u>URL</u></em><em> filtering system.</em>
Answer:
It informs a subscriber when new information is posted to the site those subscribing to a website’s RSS feed provided to a subscriber
Step-by-step explanation:
Basically, RSS feed is used to post any new pieces of information such as news or any activity which happens in the world are posted. Immediately once posted it start sending in message format for those are subscribed on RSS feed.
Basically, it used to share information across the world for those have subscribed to RSS feed.
Its use as an information channel.
Answer:
import java.util.Scanner;
public class LargestSmallest {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter 10 integers: ");
int num = in.nextInt();
int i = 1;
int min = num, max = num;
while (i < 10) {
num = in.nextInt();
if (num > max) max = num;
if (num < min) min = num;
i++;
}
System.out.println("Largest number: " + max);
System.out.println("Smallest number: " + min);
}
}
Explanation:
A Java application that inputs a series of 10 integers and determines and prints the largest and smallest integer is written above.
Answer:
import java.io.*;
public class Main
{
public static void main(String[] args) throws IOException {
BufferedReader bufferObject=new BufferedReader(new InputStreamReader(System.in));
String stringObject=bufferObject.readLine();
while(!stringObject.equals("99:99AM")){
System.out.println(convertedTime(stringObject));
stringObject=bufferObject.readLine();
}
}
public static String convertedTime(String stringObject){
String s=stringObject.substring(stringObject.length()-2);
String[] timeObject=stringObject.substring(0,5).split(":");
if(s.equals("AM")){
if(timeObject[0].equals("12")) return "00"+timeObject[1];
else return timeObject[0]+timeObject[1];
}
else{
if(timeObject[0].equals("12")) return "12"+timeObject[1];
else{
int hours=Integer.valueOf(timeObject[0]);
timeObject[0]=String.valueOf(12+hours);
return timeObject[0]+timeObject[1];
}
}
}
}
Explanation:
- Inside the main method run a while loop until stringObject is not equal to the string "99:99AM".
- Call the convertedTime method and display the results.
- Use the same hours and minutes except for 12th hour If the time is in AM.
- Use "00" instead of 12, if it is 12th hour.
- Add hours to 12, if the time is in PM and don't change anything in case of 12.