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 2914 times
Edit
31
Community EvaluationsNo one has reviewed this question yet, be the first!
13
What is the difference between an interface and an abstract class in Java?13
How should a package be named in Java?5
What is the benefit of using a ReentrantLock in Java?6
Compare two strings in Java7
Are arrays primitives types in Java?11
How to concatenate two strings of characters in Java?8
Add elements to an ArrayList in Java