P
Q. What is the output of the following code?
String name = “John”; System.out.println(“Hello, ” + name + “!”);
The string concatenation operator (+) combines the string “Hello, ” with the value of the name variable (which is “John”) and the string “!”, resulting in the output “Hello, John!”.
You must be Logged in to update hint/solution
Q. Which of the following code retrieves the body of the request as binary data?
Q. TCP,FTP,Telnet,SMTP are example of?
Q. Which of the following statement is NOT true?
Q. how many ports TCP/IP are reserved for specific protocol?
Q. The values of <servlet-name> and <servlet-class> in web.xml file
Q. Iterator returned by HashSet is
Q. Which of these classes are used by character streams for input and output operations?
Q. What is the output of the following code?
Q. Which class is used when a program does not want to handle an exception?
Q. How to get the class object of associated class using Reflection?
Discusssion
Login to discuss.