Answer:
import java.util.*;
import java.lang.*;
import java.io.*;
class Codechef
{
public static void main (String[] args)
{
Stack<Integer> mat=new Stack<Integer>();
mat.add(1);
mat.add(3);
mat.add(6);
System.out.println(mat);
Object [] a=mat.toArray();
for(int i=0;i<a.length;i++)
System.out.println(a[i]);
}
}
Explanation:
An integer type stack st is created;
1,3 and 6 are added to the stack.
printing the contents of the stack.
array a is created form the stack using toArray().
Then printing the array.
Explanation:
The requirements would be that the receptionist robot detects the incoming person and speak;
<em>Good morning (based on time), Welcome to XYZ organization. How can i help you. Do you need to visit HR, finance, marketing, sales, engineering etc representative or other function?</em>
Now based on that a visitee information is printed out.
Limitation
A person comes who does not understand what robot speaks
Interaction with existing dialogue would be made possible through speech recognition system
The system will work well as speech recognition has now been used in many functions and robots have also now become quite advanced
If it's on a document usually ctrl+z
Answer:
All of the above
Explanation:
It's better to have a pattern of colors than one single color in you color scheme.