Home » Tag Archives: Server

Tag Archives: Server

Top Javascript Interview Questions And Answers Part 1

1. What is JavaScript?JavaScript is a client-side as well as server side scripting language that can be inserted into HTML pages and is understood by web browsers. 2. What are the data types supported by JavaScript? The data types supported by JavaScript are: UndefinedNullBooleanStringSymbolNumberObject 3. What are the features of JavaScript? JavaScript …

Read More »

What is the abstraction in PHP?

Abstraction is the concept of moving the focus from the details and concrete implementation of things, to the types of things (i.e. classes), the operations available (i.e. methods), etc class A { private $isOn = false; public function on() { $this->isOn = true; } public function Off() { $this->isOn = …

Read More »

What is the encapsulation in PHP?

Wrapping some data in single unit is called Encapsulation. Encapsulation is used to safe data or information in an object from other it means encapsulation is mainly used for protection purpose. class A { private $name; public function setName($name) { $this->name = $name; } public function getName($name) { return $this->name; …

Read More »

What is the Polymorphism in PHP?

Polymorphism is one of the PHP Object Oriented Programming (OOP) features. Polymorphism is derived from two Greek words. Poly (meaning many) and morph (meaning forms). In general, polymorphism means the ability to have many forms. In other words, “Polymorphism describes a pattern in Object Oriented Programming in which a class …

Read More »