看板 Programming 關於我們 聯絡資訊
如下程式碼: class A { public A() { } public A(int i) { // A() <- error } } 要在第二個建構子中呼叫第一個要怎麼做呢? 謝謝回答~ -- ╮═╦═╮╮ ╭╭═╮╭═╮╮═╦═╮╭═╮Don't hold me with your eyes. ║ ║ ║║ ║║ ║║ ║║ ║ ║╠═╯The light in them I cannot see. ║ ║ ║╰═╣╰═╣╰═╰║ ║ ║╰═╯No need to blind me. ▂◣ There's this darkness where I walk. ▃▄▅▆▇╰═╯╰═╯▇▆▅▆▇████▆▇▅◣ˍ ~Playing My Game~ -- ︵︵ █▔◣ █▔█ █▔▔ █▔█ █▆▉ █ █▔█ █◣█ █▔ █◣︵︵ █ █ █▁◤ █▁▁ █▁█ ▉▉▉ █ █▁█ █◥█ █ █ 夢之大地 逼逼ㄟ四 █▁◤ █ █ █▁▁ █ █ ▉▉▉ █▁ █ █ █ █ █▁◤ ※ Origin: <bbs.ccns.ncku.edu.tw> ◆ From: 210.240.182.33