justinsdk / javase6tutorial Goto Github PK
View Code? Open in Web Editor NEWJava SE 6 技術手冊
Home Page: https://openhome.cc
License: Other
Java SE 6 技術手冊
Home Page: https://openhome.cc
License: Other
範例 15.14
Clerk.java 的 public synchronized int getProduct()
使用 int 回傳, 但是我在其他部分並未看出有使用到這個回傳值
請問能否改用 void
回傳 ?
hello
經提醒,是本人出錯,而非書中內容問題。謝謝。
另外感謝老師的文章,內容都很豐富而順暢,細讀每一章都可以深入了解每種JAVA內存在的意義,讓學生受益良多,希望未來能有機會能看到老師出 C# 的技術手冊。
test
有一些以雙引號標示起來的部分是否考慮改用 markdown 的語法 ?
以第 20 章的內容為例
原文
"鍵(Key)"對應的"值(Value)"
調整為
鍵(Key)
對應的值(Value)
或是
鍵(Key) 對應的 值(Value)
此處「stmt.releaseSavepoint(savepoint);」應該應為「conn.releaseSavepoint(savepoint);」。
於此告知,望有幫助。
以上。
您好,
關於第 15 章 執行緒(Thread) 的 15.1.7 ThreadGroup 有些問題想請教,
我對 ThreadGroup 的使用時機感到困惑,因此上網搜尋了一下,請參閱這幾篇討論:
這幾篇討論都建議我們避免使用 ThreadGroup API,應改用 Executors,且 ThreadGroup.activeCount()
與 ThreadGroup.enumerate()
被列為 insecure 的 API,不知您對於現在(Java 1.6 ~ 1.8) ThreadGroup 的使用時機有何看法呢?謝謝。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.