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