Tuesday 10 June 2014

Assign values to the class variables while creating object without constructor





1)Create a class StudentName



2)Assign values to the variables:- FirstName,LastName,ID



3)Print the assigned values  using console application



OUTPUT:




3 comments:

Anonymous said...

Mass Coding ..........

Anonymous said...

Pls do post moRe codAs,you saVed all my tym

thanks agaIN

Anonymous said...

Superb...........