Select the correct option to test your answer:
More Computer Questions
What will be the output of the following Java program? import java.util.*; public class genericstack <E> { Stack stk = new Stack <E>(); public void push(E obj) { stk.push(obj); } public E pop() { E obj = stk.pop(); return obj; } } class Output { public static void main(String args[]) { genericstack <String> gs = new genericstack (); gs.push("Hello"); System.out.println(gs.pop()); } }
Which keyword is used to declare a synchronized method in Java?
The extension of paint file is/are
What will be the output of the following Python code? x = ['ab', 'cd'] for i in x: i.upper() print(x)
Which of the following are TCP/IP protocols used at the Application layer of the OSI model? 1. IP 2. TCP 3. Telnet 4. FTP 5. TFTP