23
स्कैला में जेडीबीसी के साथ काम करने के उदाहरण में, निम्न कोड है:स्कैला में केवल 'सिंक्रनाइज़' के बजाय `this.synchronized` क्यों?
this.synchronized {
if (!driverLoaded) loadDriver()
}
synchronized
के बजाय this.synchronized
क्यों?