I'm a C# programmer writing Java (for Android) and have a few technicalities of Java I'm still not sure about, and worried I'm approaching from a C# angle:
- Are parameters in methods passed in the same manner as C#? (Copied for reference types)
- Why has the @Override attribute suddenly appeared (I think it's Java 1.5+?)
- How is possible to compile an application, if you are missing a dependency for one of the libraries you're using?
- Do I need to worry about using += for large string concatenation (e.g. use a StringBuilder instead)
- Does Java have operator overloading: should I use
equals()
or == by default. Basically is object.equals roughly the same as C# (reflection for value types, address reference for reference types)