what does x— or x++ do here??

it is a silly Q for most of u - i know - but i one of the beginner here, and I can not understand why the output in ...

Java: Randomly generate distinct names?

I need to generate 10,000 unique identifiers in Java. The identifiers should be a mixture of numbers and letters and...

What is the best way to tell if a character is a letter or number in Java without using regexes??

What is the best and/or easiest way to recognize if a string.charAt(index) is an A-z letter or a number in Java with...

Non-static variable cannot be referenced from a static context?

I've written this test code: class MyProgram { int count = 0; public static void main(String[] args) { ...

What is meant by src in Java Eclipse??

What is meant by the src in Eclipse IDE? Also what are all the default packages/components/classes created by the e...

Rotate a buffered image in Java?

I am trying to rotate a buffered image in java. Here is the code I am using: public static BufferedImage rotate(Bu...

convert string to arraylist <Character> in java?

How to convert a String without separator to an ArrayList&lt;Character&gt;. My String is like this: String str = "...

C# Java HashMap equivalent?

Coming from a Java world into a C# one is there a HashMap equivalent? If not what would you recommend? ...

Skip if-statement once condition is met?

This question comes from my OCD-ish nature. Say i have this piece of code. boolean executed = false; for(Object o :...

How to play .wav files with java?

I am trying to play a *.wav file with Java. I want it to do the following: When a button is pressed, play a short be...

How do you import classes in JSP??

I am a complete JSP beginner. I am trying to use a java.util.List in a JSP page. What do I need to do to use class...

Attach the Source in Eclipse of a jar?

I added a Student.jar into my Build Path in my eclipse like this- Right click on the project-&gt;BuildPath-&gt;C...

how to configure hibernate config file for sql server?

Here is the config file for MySQL: &lt;hibernate-configuration&gt; &lt;session-factory&gt; &lt;property name=...