questions/java
Hello @kartik, A simple thing to do is ...READ MORE
Normal ways would be Integer.toString(i) or String.valueOf(i). The concatenation will work, ...READ MORE
Strings are immutable. That means once you've ...READ MORE
What is the difference between window.location.href and ...READ MORE
== compares object references, it checks to see ...READ MORE
Is it possible to use JavaScript to ...READ MORE
In Java, you can escape quotes with \: String ...READ MORE
Is there any way to get bootstrap ...READ MORE
Hi Shashank. Please try this code I hope ...READ MORE
You can adjust your JVM memory needs by ...READ MORE
How can I use JavaScript to loop ...READ MORE
Yes, contains is case sensitive. You can ...READ MORE
It means that there is only one ...READ MORE
One possible solution could be using calendar ...READ MORE
The Date object will do what you ...READ MORE
Hello kartik, You can always did it in ...READ MORE
Servlet.init() for servlet [JERSEY] threw exception java.lang.ExceptionInInitializerError cause by ...READ MORE
This prints true (even though we don't use equals method: correct ...READ MORE
public class Test { // ...READ MORE
The main difference is scoping rules wherein ...READ MORE
I'm completely new to java. I spent ...READ MORE
ou've encountered a local time discontinuity: When local standard ...READ MORE
Without using a loop, how can I ...READ MORE
how to compare two strings in java? READ MORE
How can I create random whole numbers ...READ MORE
Yes, you are missing out on a ...READ MORE
Hello @kartik, Try: import android.os.Vibrator; Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); // ...READ MORE
Casting is, taking an Object of one ...READ MORE
What is the shortest and most efficient ...READ MORE
Here is a code I came up ...READ MORE
Here is the solution- public static final TYPE ...READ MORE
Trying to retrieve the greatest and lowest ...READ MORE
A base64 string and window are both ...READ MORE
Hi Priya, You check this code, import java.util.Date; import java.text.DateFormat; import ...READ MORE
Swing provides an object called JPasswordField for ...READ MORE
If you don't want to use external ...READ MORE
Hi, @Beigi, Do check you have all the ...READ MORE
If I got a Type[] array, I ...READ MORE
I have an object something like: Object {0=Object, ...READ MORE
As toolkit mentions above, Apache Commons IO ...READ MORE
I need my JSON to be like ...READ MORE
The department of History has just bought ...READ MORE
Create a copy constructor: class DummyBean { ...READ MORE
To answer your questions, use the following ...READ MORE
new ArrayList<>(Arrays.asList(array)); READ MORE
I wanted to iterate over an ArrayList ...READ MORE
I found this an efficient way in counting ...READ MORE
The best string format for string parsing ...READ MORE
What's the difference in these two ways? List<Integer> ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.