V
Q. What will be the output of the following program? public class Test{ public static void main(String args[]){ String str1 = "one"; String str2 = "two"; System.out.println(str1.concat(str2)); } }
Concat() method appends one String to the end of another. The method returns a String with the value of the String passed into the method appended to the end of the String which is used to invoke this method.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the output of this program?
Q. What is Remote method invocation (RMI)?
Q. What is the output of the following code?
Q. What is the output of a Logical OR (|) operation if one of the inputs/operands is false?
Q. What will be the output of the following code
Q. Which of these class relies upon its subclasses for complete implementation of its methods?
Discusssion
Login to discuss.