P. 1
tamil_c__

tamil_c__

|Views: 9|Likes:
Publicado poriniyaraj

More info:

Published by: iniyaraj on Apr 28, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/28/2014

pdf

text

original

Þù‚°¿ Þ¼õ¬è àÁŠ¹è¬÷‚ ªè£‡ì¶. å¡Á îó¾ àÁŠ¹èœ
(Data Members). ñŸø¶ àÁŠ¹„ ªêòŸÃÁèœ (member functions). îó¾
àÁŠ¹èœ â¡ð¬õ æ˜ Þù‚°¿M¡ ð‡¹‚ÃÁè¬÷ à혈¶‹
îó¾ ñ£Pè¬÷‚ °P‚A¡øù. àÁŠ¹„ ªêòŸÃÁèœ â¡ð¬õ æ˜
Þù‚°¿M™ °Pˆî ðEè¬÷ G¬ø«õŸÁA¡ø ªêòŸÃÁè¬÷‚
°P‚A¡øù. àÁŠ¹„ ªêòŸÃÁè¬÷ õNº¬øèœ (methods) â¡Á‹,
îó¾ àÁŠ¹è¬÷Š ð‡¹‚ÃÁèœ (attributes)â¡Á‹ ÃÁõ¶ à‡´.
ÞŠ«ð£¶, Program-6.1-™ õ¬óòÁ‚èŠð†´œ÷ studentâ¡Â‹
Þù‚°¿¬õ Ü®Šð¬ìò£è‚ ªè£‡´ îèõ™ îóŠð†´œ÷ ܆ìõ¬í-
6.1-ä «ï£‚°è. Þù‚°¿‚èœ Ý‚Aèœ (constructors),ÜNŠHèœ
(destructors)â¡Â‹ îQ„ CøŠð£ù àÁŠ¹„ ªêòŸÃÁè¬÷»‹
ªè£‡´œ÷ù. Ý‚Aèœ/ÜNŠHèœ ðŸPŠ ð£ì‹ 8-™ MKõ£èŠ ð®Š
«ð£‹.

155

student

îóMù‚ °PŠªðò˜ studentâ¡ð¬î
Þù‚°¿ 冴(tag)â¡Á‹ ÃÁõ˜.

name, rollno,

îó¾ àÁŠ¹èœ

marks1,marks2, total_marks

accept()

àÁŠ¹„ ªêòŸÃÁèœ Ü™ô¶

compute()

õNº¬øèœ

display()
execute()
student()

stud

student Þù‚°¿M¡ ꣡Á¼ (instance)/
ªð£¼œ (object) / ñ£P (variable)

You're Reading a Free Preview

Descarga
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->