Latest article tagged on "Class"

 183 View(s)
 257 View(s)
  • OOP is basically a programming style that involves the concept of objects and class.We can also say that OOP is an approach to a problem involving objects....

 1179 View(s)
  • Use jQuery toggleClass()

    The jQuery toggleCLass() method is used to add or remove one or more classes from the html selected elements. This method toggles between adding and removing one or more class name. It checks each element for the specified class names....

JQuery  CSS  Class 
 744 View(s)
 1444 View(s)
  • Object and class are key part of object oriented programming in PHP. Let’s understand what are classes and objects....

PHP
PHP  Class 
 1727 View(s)
  • A constructor is a special method that the runtime executes during the object-creation process. In previous parts, we saw that the following statement calls the class constructor:...

Java  Class 
 1005 View(s)
 981 View(s)
 941 View(s)
  • We have already seen the use of the static keyword in our Java programs. In fact, the first program we encountered uses the static keyword, where it was applied to the main method....

Java  Class 
 1054 View(s)
Java  Class 
 1034 View(s)
 2852 View(s)
  • So far we have discussed how to inherit from an existing class. However, what if we do not want anybody to inherit from our custom class? We can restrict other developers from extending our classes with the help of the final keyword....

 1182 View(s)
 1781 View(s)
 3301 View(s)
  • In java Inner class or nested class is declared inside the class or interface. We use inner class because it increases more readable & maintainable of code....

Java  J2EE  Class 
 2744 View(s)
  • There are two principal means of generating random (really pseudo-random) numbers: one is using the Random class and the other is using the Math.random method....

Java  Class 
 3296 View(s)
  • The whole idea behind encapsulation is to hide the implementation details from users. If a data member is private it means it can only be accessed within the same class. No outside class can access private data member (variable) of other class....

 3150 View(s)