questions/java/page/27
According to Effective Java, chapter 4, page 73, ...READ MORE
It's an operator that returns true if ...READ MORE
Iterate on the items, and clone them ...READ MORE
-Xmxn: It specifies the maximum size, in bytes, ...READ MORE
A JavaBean is just a standard All properties ...READ MORE
Generally you should also override hashCode() each time you ...READ MORE
this problem is solved using streams and ...READ MORE
A subclass inherits all of the public ...READ MORE
Check Character.getNumericValue(char). String element = "el7"; int x = Character.getNumericValue(element.charAt(2)); System.out.println("x=" ...READ MORE
public void saveUrl(final String filename, final String ...READ MORE
To work on timer in java, you ...READ MORE
The method invoked here will be the ...READ MORE
Here is the solution- public static final TYPE ...READ MORE
It means that there is only one ...READ MORE
Yes; the Java Language Specification writes: In the Java ...READ MORE
ou've encountered a local time discontinuity: When local standard ...READ MORE
Well, I think the confusion is because ...READ MORE
I wrote a small "TreeMap" class based ...READ MORE
JRE: It stands for Java Runtime Environment. ...READ MORE
Yes, an abstract class can have a ...READ MORE
You can access your application from: http://localhost:8080/sample Deploying ...READ MORE
Hi...here you can try using the overloaded ...READ MORE
Hi, there is no as such difference ...READ MORE
You can find out the length of ...READ MORE
First of all, define callFriend: public <T extends ...READ MORE
It's defined in the Java language specification: The members ...READ MORE
I think you are not alone who is ...READ MORE
If You check System.out.print(names.length); you will get 3 ...READ MORE
for(int i = 0; i < Data.length ...READ MORE
Is Java EE just a specification? What ...READ MORE
public class NewClass1 { ...READ MORE
Yes, you are missing out on a ...READ MORE
Runnable is the preferred way to create ...READ MORE
Switches based on integers can be optimized ...READ MORE
Using Java’s Float class. float f = Float.parseFloat("25"); String s = ...READ MORE
This is not a simpler method, but ...READ MORE
Though both are used for comparison, but the ...READ MORE
Try using String.getBytes(). It returns a byte[] ...READ MORE
You can use Joda Time Library. Interval i ...READ MORE
We can find a big difference between ...READ MORE
<build> <plugins> <plugin> ...READ MORE
Padding to 10 characters: String.format("%10s", "foo").replace(' ', '*'); String.format("%-10s", ...READ MORE
finalize() is a method called by the ...READ MORE
Using three dots: public void move(Object... x) { ...READ MORE
// Open the file FileInputStream file = new ...READ MORE
Reflection API is used to modify or examine the behavior ...READ MORE
There are 5 ways to iterate over ...READ MORE
This prints true (even though we don't use equals method: correct ...READ MORE
If you're looking for an alternative that ...READ MORE
What is Branch Prediction? Consider a railroad junction: Image by ...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.