Answer:
import java.util.ArrayList;
import java.util.List;
public class Vowels {
public static void main(String[] args) {
String word = "I am David from Nigeria";
System.out.println(which_vowels_present(word));
}
public static List which_vowels_present(String enteredWord){
List<Character>list = new ArrayList<>();
String word = enteredWord.toLowerCase();
for (int i =0; i<word.length(); i++){
if (word.charAt(i) == 'a' || word.charAt(i) == 'e' || word.charAt(i) == 'i'
|| word.charAt(i) == 'o' || word.charAt(i) == 'u') {
list.add(word.charAt(i));
}
}
return list;
}
}
Explanation:
- Using Java programming Language
- Import java.util.ArrayList; and java.util.List
- Create the method which_vowels_present which accepts a string parameter
- Within the method create a list object
- Use a for loop to iterate the string. within the for loop use an if statement to check individual characters of the string if any is a vowel, add it to the list
- return the list
- In the main method, create a test string, call the method and pass the string as parameter
The packet storm web site includes a large collection of packaged shellcode, including code that can create a reverse shell that connects back to the hacker, flush firewall rules that currently block other attacks, and set up a listening service to launch a remote shell when connected to.
Answer:r tHE RED LINE
Explanation:
Its not supost to be there
The professional choice of words for response is I wanted to help you protect my coworker’s privacy by letting you know I received this message intended for her.
Check more about writing below.
<h3>What is “Word Choice” in Writing? </h3>
'Word Choice” in writing is known to be a term that connote the ways or the usage of words that is said to be effective and precise use of language.
This is one that often conveys information and it also tends to enlighten the reader.
Note that option C is correct because it is best and most professional way to respond to a statement.
Hence, The professional choice of words for response is I wanted to help you protect my coworker’s privacy by letting you know I received this message intended for her.
Learn more about word choices from
brainly.com/question/1619714
#SPJ1