Top "Language-concepts" questions

Use this tag to ask about how a particular idea (arrays, lists, tables, search, sort) is implemented in language X or how to understand a basic part of the language.

Why aren't static methods considered good OO practice?

I'm reading Programming Scala. At the beginning of chapter 4, the author comments that Java supports static methods, which are "not-so-pure …

java scala oop static-methods language-concepts
What is the meaning of "dot parenthesis" syntax?

I am studying a sample Go application that stores data in mongodb. The code at this line (https://github.com/…

go syntax type-assertion language-concepts
How is possible to apply toUpperCase() on an empty String in Java?

I've thought that if I run this System.out.println("toUpperCase() on empty String:"+ "".toUpperCase()); and it returns an empty …

java string language-concepts