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 3156 times
Edit
35
Community EvaluationsNo one has reviewed this question yet, be the first!
10
Add elements to an ArrayList in Java8
Are arrays primitives types in Java?11
How to concatenate two strings of characters in Java?6
Given the following code, what will be displayed in the console?13
How should a package be named in Java?15
What is the difference between an interface and an abstract class in Java?7
Compare two strings in Java