Java - Online Test - Bizmatics - javasearch.buggybread.com
Interview Questions
Search
Legacy
Tests
Repo
Legacy
Java
Java 8
Java 7
Java Abbreviations
OCJP / SCJP
Class List
New in Java 8
Java Exceptions
Spring Exceptions
Java Enums
Java 8 Lambda
Java 8 java.time
Big Data
Discussion Forum
Humor
Classes Search
Subscribe
Search Java Test Questions
223 test questions in repository.
Search
Java - Test Questions on 'Bizmatics' - 4 questions found
Which of the following class creates mutable objects ?
Reference
Core Java
Boolean
File
String
StringBuffer
java
immutable
When String literals are compared using ==, they always returns true if the string values are same because ..
Reference
Core Java
of overridden compareTo method
of overridden compare method
of String Pool
== means that the object contents are equal
In case of String Literals ..
Reference
Core Java
x==y on all literals always returns false
x.equals(y) on all literals always returns false
if x.equals(y) returns true, x==y returns true too
if x.equals(y) returns false, x==y returns true
What will be the output of following code ?
String str1 = "String1";
String str2 = "String2";
str1.concat("String3");
System.out.print(str1);
System.out.print(str2);
Core Java
String1String2
String1String3String3
String1String3String1String3
String1String1
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus