en_US or en-US, which one should you use?

I’m pretty sure “-” is the standard. If you see “_” somewhere it’s probably something some people came up with to make it a valid identifier. Personally I’d go with “-“, just to be correct. http://en.wikipedia.org/wiki/IETF_language_tag

Unfortunately MyApp has stopped. How can I solve this?

This answer describes the process of retrieving the stack trace. Already have the stack trace? Read up on stack traces in “What is a stack trace, and how can I use it to debug my application errors?“ The Problem Your application quit because an uncaught RuntimeException was thrown.The most common of these is the NullPointerException. How to solve … Read more

Array ArrayList python equivalent

ArrayList in java and list in python are both dynamic arrays. They both have O(1) average indexing time and O(1) average adding an element to the end time. Array in java is not tuple in python. While it is true that you cannot add elements to both data structures. Python tuple does not support assignment, that is you cannot reassign individual elements in a tuple, … Read more

Generic Interface

Here’s one suggestion: Because of type erasure any class will only be able to implement one of these. This eliminates the redundant method at least. It’s not an unreasonable interface that you’re proposing but I’m not 100% sure of what value it adds either. You might just want to use the standard Callable interface. It doesn’t support … Read more

Javac is not found

As far as I can see you have the JRE in your PATH, but not the JDK. From a command prompt try this: Then try javac again – if this works you’ll need to permanently modify your environment variables to have PATH include the JDK too.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)