Easy
Given this code :
public class QuestionJava {
String var = "we";
public static void main(String[] data) {
String var2 = "lovedev";
System.out.print(var + var2);
}
}
What will this code do ?
Author: PierreStatus: PublishedQuestion passed 3057 times
Edit
33
Community EvaluationsNo one has reviewed this question yet, be the first!
7
Are arrays primitives types in Java?11
How to concatenate two strings of characters in Java?7
Compare two strings in Java10
Add elements to an ArrayList in Java13
How should a package be named in Java?15
What is the difference between an interface and an abstract class in Java?6
Given the following code, what will be displayed in the console?