Back to Browse

Learn PHP Tutorial in Hindi 23 Class and Object

5.7K views
Oct 17, 2015
5:11

This video is made for learning about Class and Object in PHP in Hindi. Class and Object Class: A class is a description of a number of similar objects. Example: Student, Teacher, Bird etc. Object: An object is often called an “instance” of a class. Example: Ram, Shyam, Peacock etc. A class can contain any of the following variable types. Local variables: Variables defined inside methods, constructors or blocks are called local variables. The variable will be declared and initialized within the method and the variable will be destroyed when the method has completed. Instance variables: Instance variables are variables within a class but outside any method. These variables are instantiated when the class is loaded. Instance variables can be accessed from inside any method, constructor or blocks of that particular class. Class variables: Class variables are variables declared with in a class, outside any method, with the static keyword.

Download

0 formats

No download links available.

Learn PHP Tutorial in Hindi 23 Class and Object | NatokHD