The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
64 views

Static properties and implicit “self” property in structures and enumerations vs classes in Swift

I am currently reading the Swift language documentation and came across these sentences in the chapter about methods: Similarly, type methods on structures and enumerations can access static ...
-3
votes
0answers
21 views

should I load the jdbc driver in the static constructor?

Please consider this class: public class IO { static { // Class.forName("com.mysql.jdbc.Driver"); <--- here? } public static Connection getDbConn() throws Exception { ...