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 3241 times
Edit
37
Community EvaluationsNo one has reviewed this question yet, be the first!
10
Add elements to an ArrayList in Java11
How to concatenate two strings of characters in Java?7
Compare two strings in Java15
What is the difference between an interface and an abstract class in Java?7
What are the modifiers that cannot be used with enums in Java?16
How should a package be named in Java?9
Are arrays primitives types in Java?