Example & Tutorial understanding programming in easy ways.

What is Method and Attribute in Python Class ?

program:


class Hello():

     variable="Myname"

     def func():

           print("It is Method")


-In This program, variable in class is known as attribute and function in class is known as Method.

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!