R
Q. What is the output of the following?
Code:
public static void main(String... args) {
String chair, table = "metal";
chair = chair + table;
System.out.println(chair);
}
String chair, table = "metal";
chair = chair + table;
System.out.println(chair);
}
- Correct Answer - Option(D)
- Views: 212
- Filed under category JAVA
Discusssion
Login to discuss.