- The java program is saved as ExampleAssignment.java. Complete the missing lines of code for the below program (2 mark)
public class ___________________
{
public ____________ void ______________(String[] args)
{
_______________________________ = { “UTAS-N”, “UTAS-H”,”UTAS-S”};
System.out.println(“Enter the University Name to search”);
__________________ in = new ____________(__________________________);
String getUnivName = _________________.next();
for(int i=0;i<>
{
if(_____________________________________________)
{
System.out.println(“University of Technology & Applied Science, HCT”);
}
else if(______________________________________)
{
System.out.println(“University of Technology & Applied Science, NCT”);
}
else
{
System.out.println(“University of Technology & Applied Science, SCT”);
}
}
}
}
Output:
Enter the University Name to search: UTAS-N
University of Technology & Applied Science, NCT