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
Cooking class and history and the other one I don’t know
Answer:
Example of organizational variables are codes of ethics, ethical climate, organizational size, top management, organizational structure and organization culture.
Explanation:
Organizational variables can be defined as characteristics of a decision that influences the decision-making process and its outcome. This organizational variables also influence how an individual makes decisions.
Example of organizational variables are codes of ethics, ethical climate, organizational size, top management, organizational structure and organization culture.
The information that would be the next to be processed by the receiving device is: IP at the internet layer.
<h3>Internet protocol (IP)</h3>
Internet protocol is a network protocol that help to transmit data to user device across the internet or network which inturn make it possible for user device to connect and communicate over the network.
Internet protocol at the internet layer is a TCP/IP software protocol which sole purpose is to transfer data packets across the internet after receiving and processing the data.
Inconclusion the information that would be the next to be processed by the receiving device is: IP at the internet layer.
Learn more about internet protocol here:brainly.com/question/17820678
Could you be more specific? So I can help you in the best way I can.