questions/java/page/27
It's an operator that returns true if ...READ MORE
Variables may be marked transient to indicate that they ...READ MORE
-Xmxn: It specifies the maximum size, in bytes, ...READ MORE
Iterate on the items, and clone them ...READ MORE
A JavaBean is just a standard All properties ...READ MORE
Generally you should also override hashCode() each time you ...READ MORE
A subclass inherits all of the public ...READ MORE
this problem is solved using streams and ...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
It means that there is only one ...READ MORE
Here is the solution- public static final TYPE ...READ MORE
To work on timer in java, you ...READ MORE
The method invoked here will be the ...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
Hi, there is no as such difference ...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
You can find out the length of ...READ MORE
It's defined in the Java language specification: The members ...READ MORE
First of all, define callFriend: public <T extends ...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
Is Java EE just a specification? What ...READ MORE
for(int i = 0; i < Data.length ...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
You can use Joda Time Library. Interval i ...READ MORE
Try using String.getBytes(). It returns a byte[] ...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
Using three dots: public void move(Object... x) { ...READ MORE
finalize() is a method called by the ...READ MORE
// Open the file FileInputStream file = new ...READ MORE
There are 5 ways to iterate over ...READ MORE
Reflection API is used to modify or examine the behavior ...READ MORE
This prints true (even though we don't use equals method: correct ...READ MORE
What is Branch Prediction? Consider a railroad junction: Now ...READ MORE
If you're looking for an alternative that ...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.