c#之中有一句是这样写的:Product product = new Product("007","c500","nokia",1250);请问各词什么意

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 18:43:36
c#之中有一句是这样写的:Productproduct=newProduct("007","c500","nokia",1250);请问各词什么意c#之中有一句是这样写的:Productproduct

c#之中有一句是这样写的:Product product = new Product("007","c500","nokia",1250);请问各词什么意
c#之中有一句是这样写的:Product product = new Product("007","c500","nokia",1250);请问各词什么意

c#之中有一句是这样写的:Product product = new Product("007","c500","nokia",1250);请问各词什么意
Product product = new Product("007", "c500", "nokia", 1250);
Product:对象
product :对象的实例
=new Product:实例化对象的实例
("007", "c500", "nokia", 1250):实例化对象时传递的参数,共传递了3个字符型参数,一个数值型参数.
;:结束符