程式設計中的屬性是什麼?

這是一個推薦產品對話框
熱門建議
起價
查看全部 >
語言
French
English
ไทย
German
繁體中文
國家/地區
All
登入/建立帳戶
language Selector,${0} is Selected
註冊並於Lenovo Pro 商務採購商店購物
於Lenovo教育商店註冊

專業等級福利

• 在 Think 每日價格上節省高達額外 3%
• 消費滿HK$78,000,晉升至 Plus 等級,享有更多福利

Plus 等級福利

• 在 Think 每日價格上節省高達額外 5%
• 消費滿HK$120,000,免費升級至擁有更多福利的菁英等級
等菁英級福利
• 在Think日常價格上節省高達額外8%
經銷商福利
• 可獲得Lenovo全系列產品的使用權
• 配置和購買價格優於Lenovo.com
查看所有詳情 >
再多達到
PRO Plus
PRO 菁英
恭喜,您已達到菁英地位!
Pro for Business
Delete icon Remove icon Add icon Reload icon
即將上市
已停產
暫時無法使用
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
登入或建立帳戶以儲存您的購物車!
Sign in or Create an Account to Join Rewards
檢視購物車
Wow, your cart is empty!
移除
items in cart
Fill it in with great deals
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
/
Contains Add-ons
繼續進行結帳
是的
Popular Searches
今天您想找什麼?
Quick Links
Recent Searches
Hamburger Menu
跳至主要內容
{"arrowColor":"#ffffff","backgroundColor":"#285d50","divideColor":"","sideMsg":"","data":[{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pageb7f2e1ff-3557-49a5-94a2-7c82c8dee25b","language":{"zh_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3ELenovo%20Pro%20%E4%BC%81%E6%A5%AD%E5%B0%88%E4%BA%AB%E9%AB%98%E9%81%94%208%20%E6%8A%98%E8%B3%BC%E7%89%A9%E5%84%AA%E6%83%A0%3C%2Fstrong%3E%26nbsp%3B%7C%20%E7%99%BB%E8%A8%98%E5%8D%B3%E7%8D%B2%E9%AB%98%E9%81%94%246%2C000%E8%BF%8E%E6%96%B0%E6%8A%98%E6%89%A3%20%2B%20%E5%85%8D%E8%B2%BB%E7%A6%AE%E7%89%A9%EF%BC%81%3C%2Fspan%3E%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%E8%87%B4%E9%9B%BB%26nbsp%3B%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%22%3E%3Cstrong%3E2593%200388%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%26nbsp%3B%E8%A7%A3%E9%8E%96%E5%84%AA%E6%83%A0%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fbusiness%2Fbenefits%2F%3FipromoID%3Dhellobar_01_lpro_learn%22%20target%3D%22_blank%22%20textvalue%3D%22%E7%9E%AD%E8%A7%A3%E6%9B%B4%E5%A4%9A%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3E%E7%9E%AD%E8%A7%A3%E6%9B%B4%E5%A4%9A%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E%3Cp%3E%3Cbr%2F%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cstrong%3ELenovo%20Pro%20Business%20Offer%2020%25%20OFF%3C%2Fstrong%3E%26nbsp%3B%7C%20Join%20us%20to%20get%20up%20to%20%246%2C000%20Welcome%20Discount%20%2B%20Free%20Gift!%26nbsp%3B%3C%2Fspan%3E%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%22%3E%3Cstrong%3ECall%202593%200388%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3Cspan%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cstrong%3E%3Cspan%20style%3D%22font-family%3A%20Montserrat%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2Fspan%3E%3C%2Fstrong%3E%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fbusiness%2Fbenefits%2F%3FipromoID%3Dhellobar_01_lpro_learn%22%20target%3D%22_blank%22%20textvalue%3D%22Learn%20More%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3ELearn%20More%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E%3Cp%3E%3Cbr%2F%3E%3C%2Fp%3E","zh":""},"id":"Pageb7f2e1ff-3557-49a5-94a2-7c82c8dee25b"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pagecfa8504b-eb77-4339-9085-bcf23eb1a764","language":{"zh_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3ELenovo%20%E6%95%99%E8%82%B2%E5%84%AA%E6%83%A02023%26nbsp%3B%7C%20%E5%AD%B8%E7%94%9F%E5%8F%8A%E6%95%99%E8%81%B7%E5%93%A1%E5%8F%AF%E4%BA%AB%E4%BD%8E%E8%87%B36%E6%8A%98%E5%84%AA%E6%83%A0%2C%20%E4%BD%BF%E7%94%A8%20SheerID%E5%BF%AB%E9%80%9F%E8%AA%8D%E8%A8%BC%26nbsp%3B%3C%2Fspan%3E%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%E8%87%B4%E9%9B%BB%26nbsp%3B%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%22%3E%3Cstrong%3E2593%200388%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%26nbsp%3B%E8%A7%A3%E9%8E%96%E5%84%AA%E6%83%A0%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fschool-from-home%2F%3FipromoID%3Dhellobar_02_edu%22%20target%3D%22_blank%22%20textvalue%3D%22%E7%AB%8B%E5%8D%B3%E8%B3%BC%E8%B2%B7%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3E%E7%AB%8B%E5%8D%B3%E8%B3%BC%E8%B2%B7%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E%3Cp%3E%3Cbr%2F%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20Montserrat%3B%22%3E%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3C%2Fspan%3EBack%20to%20School%3C%2Fstrong%3E%26nbsp%3B%7C%20Join%20Lenovo%20Education%20to%20enjoy%20up%20to%2040%25%20Discount%20for%20students%20%26amp%3B%20teachers.%20SheerID%20is%20applicable.%3C%2Fspan%3E%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%20font-family%3A%20Montserrat%3B%22%3E%26nbsp%3B%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cstrong%3ECall%202593%200388%3C%2Fstrong%3E%3C%2Fa%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fschool-from-home%2F%3FipromoID%3Dhellobar_02_edu%22%20target%3D%22_self%22%20textvalue%3D%22Shop%20now%22%20style%3D%22text-decoration%3A%20underline%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20Montserrat%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20Montserrat%3B%22%3E%3Cstrong%3EShop%20now%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","zh":""},"id":"Pagecfa8504b-eb77-4339-9085-bcf23eb1a764"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pagef53f1aa2-3b1d-4357-a57e-850230463f26","language":{"zh_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3EPC%E4%BD%8E%E8%87%B37%E6%8A%98%3C%2Fstrong%3E%26nbsp%3B%7C%20%E7%B2%BE%E9%81%B8%E5%9E%8B%E8%99%9F%E7%8F%BE%E8%B2%A8%E7%99%BC%E5%94%AE%2C%20%E6%9C%80%E5%BF%AB3%E6%97%A5%E9%80%81%E8%B2%A8%EF%BC%81%E6%89%80%E6%9C%89%E8%A8%82%E5%96%AE%E5%9D%87%E4%BA%AB%E5%85%8D%E9%81%8B%E8%B2%BB%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%E8%87%B4%E9%9B%BB%26nbsp%3B%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%22%3E%3Cstrong%3E2593%200388%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%26nbsp%3B%E8%A7%A3%E9%8E%96%E5%84%AA%E6%83%A0%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fdeals%2Fexpress%2F%3FipromoID%3Dhellobar_03_quickship%22%20target%3D%22_blank%22%20textvalue%3D%22%E7%AB%8B%E5%8D%B3%E8%B3%BC%E8%B2%B7%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3E%E7%AB%8B%E5%8D%B3%E8%B3%BC%E8%B2%B7%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E%3Cp%3E%3Cbr%2F%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cstrong%3EPC%20Up%20to%2030%25%20off%3C%2Fstrong%3E%26nbsp%3B%7C%20Selected%20models%20are%20on%20sale%20in%20stock%2C%20and%20the%20fastest%20delivery%20is%203%20days!%20Free%20shipping%20site-wide%2C%20no%20minimum%20spend.%3C%2Fspan%3E%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%26nbsp%3B%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22font-family%3A%20Montserrat%3B%20color%3A%20rgb(255%2C%20192%2C%200)%3B%22%3E%3Cstrong%3ECall%202593%200388%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fdeals%2Fexpress%2F%3FipromoID%3Dhellobar_03_quickship%22%20target%3D%22_blank%22%20textvalue%3D%22Shop%20now%22%20style%3D%22text-decoration%3A%20underline%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cstrong%3EShop%20now%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E%3Cp%3E%3Cbr%2F%3E%3C%2Fp%3E","zh":""},"id":"Pagef53f1aa2-3b1d-4357-a57e-850230463f26"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page40a4db87-5fc2-477e-aa8e-51281582d62c","language":{"zh_hk":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%E6%9C%89%E7%96%91%E5%95%8F%E5%97%8E%EF%BC%9F%20%E5%A6%82%E9%9C%80%E6%88%91%E5%80%91%E7%9A%84%E5%B0%88%E5%AE%B6%E5%BB%BA%E8%AD%B0%EF%BC%8C%E8%AB%8B%E8%87%B4%E9%9B%BB%26nbsp%3B%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%22%3E%3Cstrong%3E2593%200388%3C%2Fstrong%3E%3C%2Fspan%3E%3Cstrong%3E%E6%88%96%E9%BB%9E%E6%93%8A%E3%80%8C%E8%81%8A%E5%A4%A9%E3%80%8D%EF%BC%81%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fspan%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20target%3D%22_self%22%20class%3D%22live_chat_daily%22%20style%3D%22text-wrap%3A%20wrap%3B%20text-decoration-line%3A%20underline%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cstrong%3E%E8%81%AF%E7%B5%A1%E6%88%91%E5%80%91%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3ENeed%20Help%3F%26nbsp%3B%26nbsp%3B%3Ca%20href%3D%22tel%3A25930388%22%20style%3D%22color%3A%20rgb(255%2C%20192%2C%200)%3B%22%3E%3Cstrong%3ECall%202593%200388%3C%2Fstrong%3E%3C%2Fa%3E%26nbsp%3B%26nbsp%3Bor%20Chat%20with%20us%20now!%3C%2Fspan%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20target%3D%22_self%22%20class%3D%22live_chat_daily%22%20style%3D%22text-wrap%3A%20wrap%3B%20text-decoration-line%3A%20underline%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%3Cstrong%3EContact%20Us%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fp%3E","zh":""},"id":"Page40a4db87-5fc2-477e-aa8e-51281582d62c"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page4daeae9a-96ce-41de-bb12-39e5cc32e16a","language":{"zh_hk":"%3Cp%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%E5%B9%B4%E5%BA%A6%E6%9C%80%E5%BC%B711.11%E5%84%AA%E6%83%A0%20%7C%20%E6%89%8B%E6%8F%90%E9%9B%BB%E8%85%A6%E6%BF%80%E6%B8%9B%E8%87%B3%20%241%2C798!%20%E8%B3%BC%E7%89%A9%E9%80%81%24400%E8%B6%85%E5%B8%82%E7%A6%AE%E5%88%B8!%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fdeals%2Fspecial-offer%2F%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3E11.11%E7%B2%BE%E9%81%B8%E5%9E%8B%E8%99%9F%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3EMega%20Clearance%20Sale%20%7C%20Laptops%20starts%20at%20%241%2C998%26nbsp%3B%20%26nbsp%3B%20Up%20to%2040%25%20off%20for%20Gaming%20PCs%2FYoga%20PCs%26nbsp%3B%20%26nbsp%3B%20Free%20shipping%20on%20any%20orders%2C%20as%20fast%20as%202%20days%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22https%3A%2F%2Fadmin.lenovo.com%2Fd%2Fdeals%2Fspecial-offer%2F%3FipromoID%3Dhellobar_05%22%20target%3D%22_blank%22%20title%3D%22Mega%20Clearance%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3EMega%20Clearance%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fp%3E","en_hk":"%3Cp%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E11.11%20Crazy%20Deals%20%7C%20Laptop%20Starting%20at%20%241798!%20Get%20%24400%20supermarket%20vouchers!%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fdeals%2Fspecial-offer%2F%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3E11.11%20Deals%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","zh":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%E7%A7%8B%E5%AD%A3%E9%96%8B%E5%80%89%E5%A4%A7%E6%BF%80%E8%B3%9E%7C%20%E9%9B%BB%E8%85%A6%E4%BD%8E%E8%87%B3%241%2C998%E8%B5%B7%26nbsp%3B%20%E9%9B%BB%E7%AB%B6%E9%9B%BB%E8%85%A6%2FYoga%E9%9B%BB%E8%85%A6%E4%BD%8E%E8%87%B36%E6%8A%98%20%E4%BB%BB%E4%BD%95%E8%A8%82%E5%96%AE%E5%85%8D%E8%B2%BB%E9%80%81%E8%B2%A8%20%E6%9C%80%E5%BF%AB2%E6%97%A5%E9%80%81%E5%88%B0%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22https%3A%2F%2Fadmin.lenovo.com%2Fd%2Fnotebook-recommendation%2F%3FipromoID%3Dhellobar_05%22%20target%3D%22_blank%22%20title%3D%22%E5%8D%B3%E6%90%B6%E7%A7%8B%E5%AD%A3%E9%96%8B%E5%80%89%E5%84%AA%E6%83%A0%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3Cstrong%3E%E5%8D%B3%E6%90%B6%E7%A7%8B%E5%AD%A3%E9%96%8B%E5%80%89%E5%84%AA%E6%83%A0%3C%2Fstrong%3E%3C%2Fa%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3C%2Fspan%3E%3C%2Fp%3E"},"id":"Page4daeae9a-96ce-41de-bb12-39e5cc32e16a"},"gInfo":""}],"autoRun":true,"isShowDivide":true}
6月7至9日 | 限時72小時快閃折扣!
天數
小時
分鐘
秒數

程式設計中的屬性是什麼?

程式設計中的屬性是與對象關聯的特殊屬性或特徵。它們封裝數據並通過 getter 和 setter 方法提供存取控制,允許您在不直接存取其變數的情況下與物件的狀態進行互動。

屬性與常規變數有何不同?

屬性提供抽象級別,隱藏基礎數據,同時允許受控訪問。它們使您能夠在獲取或設置值時添加邏輯、驗證或副作用。

為什麼要使用屬性而不是常規變數?

屬性提供了對數據的額外控制層,從而提高了代碼品質並減少了潛在的錯誤。在設計類和 API 時,最好使用它們。

如何使用 age 屬性?

您可以像訪問常規屬性一樣訪問 age 屬性:person_obj.age。如果要設置新值,也可以設置:person_obj.age = 30。

屬性可以具有唯讀訪問許可權還是只寫訪問許可權?

是的,它可以兩者兼而有之。可以通過省略 setter 方法來創建唯讀屬性,只允許獲取值。同樣,可以通過排除 getter 方法來獲得只寫屬性。

屬性可以有預設值嗎?

是的,您可以在類的初始值設定項(構造函數)中設置屬性的預設值。這可確保屬性在創建物件時具有有意義的值。

屬性是否特定於任何程式設計語言?

不,屬性可以在各種程式設計語言中找到,例如 Python、C#、Java 等。但是,用於定義屬性的語法可能略有不同。

屬性對性能有影響嗎?

由於方法調用開銷,與直接變數訪問相比,屬性可能會對性能產生輕微影響。但是,現代編譯器和運行時優化通常會將這種影響降至最低。

屬性是否比直接使用變數慢?

在大多數情況下,性能差異可以忽略不計。使用屬性編寫乾淨且可維護的代碼更為重要。

屬性是否可以用於數據序列化和反序列化?

絕對!屬性可以像常規變數一樣進行序列化和反序列化,從而更輕鬆地保存和載入物件狀態。

如何在 Python 中序列化/反序列化屬性?

您可以使用 Python 的內置 pickle 模組進行基本的序列化和反序列化。對於更複雜的方案,請考慮使用 JavaScript 物件表示法 (JSON) 或其他序列化庫。

是否可以使用屬性進行數據驗證?

是的,屬性是數據驗證的絕佳選擇。您可以在 setter 方法中添加驗證邏輯,以確保數據完整性。

在面向物件程式設計中可以繼承屬性嗎?

是的,屬性可以像面向物件程式設計中的常規方法一樣被繼承。子類可以重寫或擴展父類中定義的屬性。

如何覆蓋子類中的屬性?

若要重寫子類中的屬性,請定義具有相同名稱的屬性。如果需要,您可以使用super() 函數調用父級的實現。

我可以使用屬性在 C# 中實現介面協定嗎?

是的,屬性通常用於履行 C# 中的介面協定。當類實現介面時,它必須為該介面中定義的所有屬性提供實現。

屬性可以在多線程環境中使用嗎?

是的,屬性可以在多線程環境中使用。但是,您需要謹慎對待線程安全。請考慮使用同步機制(如鎖)或使用線程安全數據類型來避免爭用方式。

屬性的訪問速度是否比 TypeScript 中的常規數據成員慢?

在 TypeScript 中,由於 getter 和 setter 的方法調用開銷,與直接變數訪問相比,屬性的性能開銷略有增加。但是,在大多數情況下,差異通常可以忽略不計。

我可以在 TypeScript 中將屬性與 React 元件一起使用嗎?

是的,您可以在 TypeScript 中將屬性(道具)與 React 元件一起使用。Props 允許您將數據從父元件傳遞到子元件。

我可以在 TypeScript 中將屬性與Vue.js元件一起使用嗎?

是的,您也可以在 TypeScript 中將屬性(道具)與Vue.js元件一起使用。Props 允許你將數據從父元件傳遞到子元件,就像在 React 中一樣。

屬性與 Angular 元件中的變數有何不同?

Angular 元件中的屬性在類中聲明,可以使用插值或屬性綁定從範本訪問它們。另一方面,變數是方法或塊的本地變數。

什麼時候應該在 Angular 元件中使用屬性而不是變數?

當需要在元件的類與其範本之間共用數據時,或者當您需要使用輸入和輸出與其他元件進行通信時,請使用屬性。

如何在 React 中使用屬性進行表單驗證?

要在 React 中使用屬性進行表單驗證,您可以將表單輸入值存儲在元件的狀態中,並在使用者輸入時更新狀態。然後,使用狀態值執行驗證檢查並在用戶介面 (UI) 中顯示驗證錯誤。

屬性可以用於 Angular 應用程式中的表單處理嗎?

是的,屬性(元件或表單模型的屬性)用於 Angular 應用程式中的表單處理。表單數據可以存儲在元件的屬性中,並且可以將表單控件綁定到這些屬性以進行數據同步。

如何在 Django 中將屬性與資料庫模型一起使用?

要在 Django 中將屬性用於資料庫模型,您可以使用模型類中方法上方的@property裝飾器定義模型屬性。此方法可以像屬性一樣訪問,但不直接映射到資料庫欄位。

如何在 React 中使用級聯樣式表 (CSS) 模組設置元件樣式?

要在 React 中使用 CSS 模組設置元件樣式,請創建一個單獨的 CSS 檔並使用 import 語句將 CSS 檔案導入元件。然後,可以使用生成的唯一類名作為 JavaScript 語言語法 (JSX) 中的屬性來應用樣式。

屬性可以用於級聯樣式表 (CSS) 中的回應式 Web 設計嗎?

是的,屬性在使用 CSS 的回應式網頁設計中起著至關重要的作用。您可以使用媒體查詢和回應式設計技術,根據使用者的設備或螢幕尺寸調整網站的布局和外觀。

屬性是否可用於在級聯樣式表 (CSS) 中創建下拉功能表?

是的,屬性可用於在 CSS 中創建下拉功能表。您可以使用 position、display 和 visibility 屬性來控制下拉列表內容的可見性和定位。

{"pageComponentDataId":"537198bf07954-401a-b47a-087e257f1d72","isAssociatedRelease":"true","pageComponentDataLangCode":"en_hk","configData":{"jumpType":"currentTab","headlineColor":"black","displayNumber":"","styleMode":"vertical","miniCardHoMode":"2","headline":"","products":[{"number":{"t_id":"len101t0102","language":{"zh_hk":"len101t0102","en":"","en_hk":"len101t0102","zh":""},"id":"Page497e178f-e4db-4b5b-b1a5-ec4687329efb"}},{"number":{"t_id":"len101t0104","language":{"zh_hk":"len101t0104","en":"","en_hk":"len101t0104","zh":""},"id":"Page9145835b-830f-4dee-9765-5a8ed87b670f"}},{"number":{"t_id":"len101t0081","language":{"zh_hk":"len101t0081","en":"","en_hk":"len101t0081","zh":""},"id":"Pagebb4de9bf-4262-41eb-9982-04bc0777035c"}},{"number":{"t_id":"len101g0036","language":{"zh_hk":"len101g0036","en":"","en_hk":"len101g0036","zh":""},"id":"Paged7259f59-5586-49c9-8b68-20a93f7b4c51"}}]},"urlPrefix":"AAAAAAALAAAG","needGetLatestTransDataKey":"needGetLatestTransDataValue","title":"glossary-right-blue-boxes-fragment","pageId":"82171833-6325-4d09-947e-5979c9876a90","urlEdit":0,"uri":"/FragmentDirectory/glossary/glossary-right-blue-boxes-fragment.frag","pageComponentId":"537198bf07954-401a-b47a-087e257f1d72","tplId":"c7389f9a-59c0-4c34-a9e1-f1c090c6ab86","pageComponentUuid":"537198bf07954-401a-b47a-087e257f1d72","targetUser":"0"}
即將上市
起價
建議售價
原價
網上售價:
建議售價
預估價值 (Estimated Value)
定價是Lenovo根據產業數據對產品價值的估算,包括第一方和第三方零售商和電商提供或估值相同或相似產品的價格。第三方經銷商數據可能不是基於實際銷售。
預估價值是Lenovo根據行業數據對產品價值的估算,包括Lenovo和/或第三方零售商和電子零售商提供或估值相同或相似產品的價格。第三方數據可能不是基於實際銷售。
Learn More
See More
See Less
查看 {0} 型號
查看 {0} 款型
Shipping options for {0}
產品編號
功能
查看更多
查看較少
比較
已加入!
好選擇!
您可以在每個產品類別(筆記本電腦、桌上型電腦等)中比較最多 4 項產品。請取消選擇一項才能新增另一項。
檢視您的比較
加入購物車
加入購物車
我們很抱歉,
產品暫時無法使用。
繼續購物
了解更多
即將上市
精選產品
精選產品
哎呀!未找到任何結果。請瀏覽上方的類別以尋找您的產品。
節省
open in new tab
© 2024 Lenovo. 保留所有權利。
© {year} Lenovo. All rights reserved.
比較  ()
x