0

How many classes initialize in java?

when we run java program which classes are loaded or how many classes are initialize?

30th Nov 2018, 5:58 PM
Vijay Dangi
Vijay Dangi - avatar
1 Odpowiedź
+ 2
While I'm no expert in Java, it is my belief that only classes you declare variables of are loaded or initialized. I'd be shocked to discover this is wrong as it makes sense and languages I'm an expert in do it that way, but I haven't investigated the compiler or JVM to know it as fact.
3rd Dec 2018, 5:55 AM
John Wells
John Wells - avatar