Answer:
Here's the Java code to print the words that start with "F" or "L":
String[] w = {"Algorithm", "Logic", "Filter", "Software", "Network", "Parameters", "Analyze", "Algorithm", "Functionality", "Viruses"};
for (String word : w) {
if (word.startsWith("F") || word.startsWith("L")) {
System.out.println(word);
}
}
Step-by-step explanation:
Output:
Logic
Filter
Functionality