Here are basic OOP interview question for PHP Developer. If you want to learn PHP with framework visite our site :https://versionup.in/
Interfaces in Java allow subclasses to be implemented with different data definitions and method implementations. Interfaces are special classes that can be implemented by subclasses. Interfaces do not contain data or method implementations - they only contain abstract method declarations. Interfaces are used to achieve full abstraction and ensure subclasses have consistent method signatures while allowing flexibility in implementation.
The document contains 20 questions related to PHP interview questions. The questions cover topics like PHP functions, data types, operators, syntax, and more. Correct answers are provided for self-assessment. The document serves as a knowledge testing resource for PHP interviews and certification exam preparation.
The document discusses abstract classes, abstract methods, and interfaces in object-oriented programming. It defines abstract classes as classes declared with the abstract keyword that can contain both defined and undefined methods. Abstract methods only contain declarations without a body. Interfaces are similar to classes but can only contain abstract methods and final static variables. The key differences between interfaces and classes are that interfaces cannot be instantiated, do not have constructors, and all methods are implicitly abstract. Interfaces are used to achieve abstraction and multiple inheritance in Java.
The Php training is highly preferred in Chandigarh for 6weeks/months industrial training period. With the help of TCIL-IT you will be able to build a basic setup in the field of IT and digital marketing. We have huge question bank to guide you to clear your interviews. To get more check here at https://goo.gl/JaQYNk
This document discusses object-oriented design principles and software modularity. It begins with introductions and an overview of key OO design concepts like the single responsibility principle. It then discusses the benefits of good OO design for code maintainability and reusability. The document advocates for structuring code into reusable modules and provides examples of modular architectures. It also describes coding exercises to practice designing and implementing a social media profile retrieval module using OO principles like abstraction, loose coupling, and dependency inversion.
The document provides information about an assignment for the subject Programming in C for the first semester of the BCA program. It includes 6 questions related to C programming concepts like operators, loops, variables, structures, macros, and file handling functions. Students are instructed to send their semester and specialization details to a provided email address or call a phone number to get fully solved assignments.
The document discusses various code generation techniques in Visual Studio 2010, including StringBuilder, System.CodeDom, code snippets, XSLT, project/item templates, T4 templates, and unit testing. T4 templates are highlighted as the preferred technique for Entity Framework 4.0 and modeling tools because they allow embedding C# logic and can be precompiled. However, templates currently lack built-in editing support in Visual Studio. Unit testing is recommended for generated code.
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...Simplilearn
This document discusses C# interfaces, including what they are, why they are needed, and how to implement them. Interfaces define a contract that implementing classes must follow, allowing for loosely-coupled applications. Specifically, interfaces contain abstract method signatures that implementing classes fill in, enabling polymorphism and independent development. The document then demonstrates how to define and implement a basic interface to add two numbers.
This document provides tips from various PHP developers on what to expect and focus on in PHP interviews. It then lists 26 PHP interview questions and provides additional exercises and concepts for candidates to brush up on to prepare for interviews. The questions cover a wide range of PHP topics from syntax and functions to object oriented programming concepts, security practices, and frameworks.
PHP is a server-side scripting language used for building web pages and applications. It includes frameworks and CMS for creating large websites. PHP supports various frameworks like Laravel and CMS like WordPress. Rasmus Lerdorf created PHP in 1994 and it is installed on over 240 million websites. PHP runs on various platforms and is compatible with servers like Apache. It supports databases like MySQL and is free, easy to learn, and runs on the server-side. The document provides an overview of PHP and discusses interview questions related to PHP.
defination for object oriented programming,concept for oops,defination for class,object,member variable,member function,inheritance,parentclass and child class defination,polymorphism,overloading,dataabstraction,encapsulation,constructor and destructor,interfaces and rules,abstract class,object cloning
This document introduces PHP and its basic concepts. PHP is an open source scripting language widely used for web development. It allows embedding code into HTML documents. Key topics covered include what PHP is, its history and how it works, its capabilities, why it is used, benefits for students, basic and object-oriented programming in PHP, GET and POST methods, sessions and cookies. Popular PHP frameworks and content management systems built with PHP are also listed.
PHP Fundamentals: A Comprehensive IntroductionNilesh Valva
Description:
"PHP Fundamentals: A Comprehensive Introduction" is a detailed PowerPoint presentation designed to provide a thorough overview of PHP, a widely-used scripting language especially suited for web development. This presentation is ideal for beginners and covers essential topics including:
Introduction to PHP: An overview of PHP's history, significance, and basic concepts.
Key Features: Insights into server-side scripting, cross-platform compatibility, ease of use, embedding PHP in HTML, database integration, and extensive libraries.
Setting Up the Environment: Step-by-step guide on installing PHP and setting up a local server using XAMPP or MAMP.
Basic PHP Syntax: Understanding the basic structure of PHP code, including how to embed PHP within HTML.
Variables and Data Types: Introduction to different data types in PHP and how to declare and use variables.
Control Structures: Comprehensive coverage of conditional statements (if, if-else, switch) and loops (while, do-while, for, foreach).
Include Statements: Explanation of include, require, include_once, and require_once statements.
Object-Oriented Programming (OOP): Key OOP concepts in PHP such as classes, objects, properties, methods, inheritance, polymorphism, encapsulation, and abstraction, illustrated with practical examples.
PHP Frameworks: Overview of popular PHP frameworks like Laravel, Symfony, CodeIgniter, CakePHP, and Zend Framework, highlighting their features and advantages.
Conclusion: Summarizes the versatility of PHP and its importance in web development, emphasizing its integration capabilities, community support, and extensive documentation.
This document contains 35 PHP interview questions and their answers. Some key details include:
- Rasmus Lerdorf is the father of PHP.
- $name is a variable while $$name is a reference variable.
- Forms can be submitted via GET and POST methods.
- Sessions are used to store temporary data across page requests and are closed when the browser closes.
- Variables can be passed between pages via the session, cookies, or URL parameters.
- Sizeof() and count() can be used to find the number of elements in an array.
- Functions like mysql_create_db() can be used to create databases from PHP.
Object Oriented Programming with Laravel - Session 1Shahrzad Peyman
This document provides an overview of object-oriented programming (OOP) and introduces the Laravel PHP framework. It defines key OOP concepts like objects, classes, and inheritance. It also covers PHP basics like variables, data types, and functions. Composer is introduced as a dependency manager. MVC architecture and the MVC pattern implemented by Laravel are explained at a high-level. Laravel requirements and installation are outlined in the last few slides.
The document provides answers to 40 questions about PHP. It discusses topics like what PHP is, sessions, PEAR, cookies, error handling, object-oriented programming concepts in PHP, and how to interact with databases and send/receive data through GET and POST requests. Each question is followed by a short 1-3 sentence answer providing the key information about the topic. The document serves as a reference for common PHP questions and their essential answers.
- Object-oriented programming (OOP) refers to the creation of reusable software objects/classes that can be efficiently developed and incorporated into multiple programs. An OOP program consists of interacting objects that solve a task.
- Classes define objects of the same type through data members (properties) and methods. Objects are instances of classes that can inherit properties and behaviors from parent classes.
- OOP principles like encapsulation, inheritance, and polymorphism help manage complexity through modularization and reuse when building large PHP programs.
This document contains questions and answers about PHP. It discusses PHP variable names, data types, functions like include(), require(), echo and print, arrays, object oriented concepts like inheritance and constants. It also covers regular expressions, error handling, strings, files and directories.
This document presents an overview of object-oriented PHP. It discusses key concepts like classes, objects, inheritance, interfaces and magic methods. It provides examples of how to define classes and objects in PHP and utilize various OOP features like visibility, abstraction, static methods and autoloading. The goal is to help PHP programmers understand object-oriented programming principles and their implementation in PHP.
PHP was created by Rasmus Lerdorf. Sessions allow storing temporary data across HTTP requests to offer complete transactions to visitors. Variables can be passed between pages via registering in a session, cookies, or URLs. Arrays can be counted with count() or sized with sizeof(). The move_uploaded_file() function stores uploaded files. Constructors initialize objects and destructors cleanup when objects are destroyed. Constants are defined with define() and inheritance only allows single base classes in PHP.
Zuan Education provides real-time PHP training from beginner to advanced level programs with project-based training. The PHP course syllabus is hand-crafted by industry experts, and we adhere to the syllabus with latest technologies based on current industry demands across various disciplines. Our PHP training course gives the required knowledge to design and create dynamic, database-driven web applications with in-depth training on PHP right from the fundamentals.
Exploring Ocean Floor Features for Middle SchoolMarie
This 16 slide science reader is all about ocean floor features. It was made to use with middle school students.
You can download the PDF at thehomeschooldaily.com
Thanks! Marie
This document provides tips from various PHP developers on what to expect and focus on in PHP interviews. It then lists 26 PHP interview questions and provides additional exercises and concepts for candidates to brush up on to prepare for interviews. The questions cover a wide range of PHP topics from syntax and functions to object oriented programming concepts, security practices, and frameworks.
PHP is a server-side scripting language used for building web pages and applications. It includes frameworks and CMS for creating large websites. PHP supports various frameworks like Laravel and CMS like WordPress. Rasmus Lerdorf created PHP in 1994 and it is installed on over 240 million websites. PHP runs on various platforms and is compatible with servers like Apache. It supports databases like MySQL and is free, easy to learn, and runs on the server-side. The document provides an overview of PHP and discusses interview questions related to PHP.
defination for object oriented programming,concept for oops,defination for class,object,member variable,member function,inheritance,parentclass and child class defination,polymorphism,overloading,dataabstraction,encapsulation,constructor and destructor,interfaces and rules,abstract class,object cloning
This document introduces PHP and its basic concepts. PHP is an open source scripting language widely used for web development. It allows embedding code into HTML documents. Key topics covered include what PHP is, its history and how it works, its capabilities, why it is used, benefits for students, basic and object-oriented programming in PHP, GET and POST methods, sessions and cookies. Popular PHP frameworks and content management systems built with PHP are also listed.
PHP Fundamentals: A Comprehensive IntroductionNilesh Valva
Description:
"PHP Fundamentals: A Comprehensive Introduction" is a detailed PowerPoint presentation designed to provide a thorough overview of PHP, a widely-used scripting language especially suited for web development. This presentation is ideal for beginners and covers essential topics including:
Introduction to PHP: An overview of PHP's history, significance, and basic concepts.
Key Features: Insights into server-side scripting, cross-platform compatibility, ease of use, embedding PHP in HTML, database integration, and extensive libraries.
Setting Up the Environment: Step-by-step guide on installing PHP and setting up a local server using XAMPP or MAMP.
Basic PHP Syntax: Understanding the basic structure of PHP code, including how to embed PHP within HTML.
Variables and Data Types: Introduction to different data types in PHP and how to declare and use variables.
Control Structures: Comprehensive coverage of conditional statements (if, if-else, switch) and loops (while, do-while, for, foreach).
Include Statements: Explanation of include, require, include_once, and require_once statements.
Object-Oriented Programming (OOP): Key OOP concepts in PHP such as classes, objects, properties, methods, inheritance, polymorphism, encapsulation, and abstraction, illustrated with practical examples.
PHP Frameworks: Overview of popular PHP frameworks like Laravel, Symfony, CodeIgniter, CakePHP, and Zend Framework, highlighting their features and advantages.
Conclusion: Summarizes the versatility of PHP and its importance in web development, emphasizing its integration capabilities, community support, and extensive documentation.
This document contains 35 PHP interview questions and their answers. Some key details include:
- Rasmus Lerdorf is the father of PHP.
- $name is a variable while $$name is a reference variable.
- Forms can be submitted via GET and POST methods.
- Sessions are used to store temporary data across page requests and are closed when the browser closes.
- Variables can be passed between pages via the session, cookies, or URL parameters.
- Sizeof() and count() can be used to find the number of elements in an array.
- Functions like mysql_create_db() can be used to create databases from PHP.
Object Oriented Programming with Laravel - Session 1Shahrzad Peyman
This document provides an overview of object-oriented programming (OOP) and introduces the Laravel PHP framework. It defines key OOP concepts like objects, classes, and inheritance. It also covers PHP basics like variables, data types, and functions. Composer is introduced as a dependency manager. MVC architecture and the MVC pattern implemented by Laravel are explained at a high-level. Laravel requirements and installation are outlined in the last few slides.
The document provides answers to 40 questions about PHP. It discusses topics like what PHP is, sessions, PEAR, cookies, error handling, object-oriented programming concepts in PHP, and how to interact with databases and send/receive data through GET and POST requests. Each question is followed by a short 1-3 sentence answer providing the key information about the topic. The document serves as a reference for common PHP questions and their essential answers.
- Object-oriented programming (OOP) refers to the creation of reusable software objects/classes that can be efficiently developed and incorporated into multiple programs. An OOP program consists of interacting objects that solve a task.
- Classes define objects of the same type through data members (properties) and methods. Objects are instances of classes that can inherit properties and behaviors from parent classes.
- OOP principles like encapsulation, inheritance, and polymorphism help manage complexity through modularization and reuse when building large PHP programs.
This document contains questions and answers about PHP. It discusses PHP variable names, data types, functions like include(), require(), echo and print, arrays, object oriented concepts like inheritance and constants. It also covers regular expressions, error handling, strings, files and directories.
This document presents an overview of object-oriented PHP. It discusses key concepts like classes, objects, inheritance, interfaces and magic methods. It provides examples of how to define classes and objects in PHP and utilize various OOP features like visibility, abstraction, static methods and autoloading. The goal is to help PHP programmers understand object-oriented programming principles and their implementation in PHP.
PHP was created by Rasmus Lerdorf. Sessions allow storing temporary data across HTTP requests to offer complete transactions to visitors. Variables can be passed between pages via registering in a session, cookies, or URLs. Arrays can be counted with count() or sized with sizeof(). The move_uploaded_file() function stores uploaded files. Constructors initialize objects and destructors cleanup when objects are destroyed. Constants are defined with define() and inheritance only allows single base classes in PHP.
Zuan Education provides real-time PHP training from beginner to advanced level programs with project-based training. The PHP course syllabus is hand-crafted by industry experts, and we adhere to the syllabus with latest technologies based on current industry demands across various disciplines. Our PHP training course gives the required knowledge to design and create dynamic, database-driven web applications with in-depth training on PHP right from the fundamentals.
Exploring Ocean Floor Features for Middle SchoolMarie
This 16 slide science reader is all about ocean floor features. It was made to use with middle school students.
You can download the PDF at thehomeschooldaily.com
Thanks! Marie
This presentation was provided by Jennifer Gibson of Dryad, during the first session of our 2025 NISO training series "Secrets to Changing Behavior in Scholarly Communications." Session One was held June 5, 2025.
How to Create Quotation Templates Sequence in Odoo 18 SalesCeline George
In this slide, we’ll discuss on how to create quotation templates sequence in Odoo 18 Sales. Odoo 18 Sales offers a variety of quotation templates that can be used to create different types of sales documents.
Parenting Teens: Supporting Trust, resilience and independencePooky Knightsmith
For more information about my speaking and training work, visit: https://www.pookyknightsmith.com/speaking/
SESSION OVERVIEW:
Parenting Teens: Supporting Trust, Resilience & Independence
The teenage years bring new challenges—for teens and for you. In this practical session, we’ll explore how to support your teen through emotional ups and downs, growing independence, and the pressures of school and social life.
You’ll gain insights into the teenage brain and why boundary-pushing is part of healthy development, along with tools to keep communication open, build trust, and support emotional resilience. Expect honest ideas, relatable examples, and space to connect with other parents.
By the end of this session, you will:
• Understand how teenage brain development affects behaviour and emotions
• Learn ways to keep communication open and supportive
• Explore tools to help your teen manage stress and bounce back from setbacks
• Reflect on how to encourage independence while staying connected
• Discover simple strategies to support emotional wellbeing
• Share experiences and ideas with other parents
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...EduSkills OECD
Deborah Nusche, Senior Analyst, OECD presents at the OECD webinar 'Trends Spotting: Strategic foresight for tomorrow’s education systems' on 5 June 2025. You can check out the webinar on the website https://oecdedutoday.com/webinars/ Other speakers included: Deborah Nusche, Senior Analyst, OECD
Sophie Howe, Future Governance Adviser at the School of International Futures, first Future Generations Commissioner for Wales (2016-2023)
Davina Marie, Interdisciplinary Lead, Queens College London
Thomas Jørgensen, Director for Policy Coordination and Foresight at European University Association
Unit- 4 Biostatistics & Research Methodology.pdfKRUTIKA CHANNE
Blocking and confounding (when a third variable, or confounder, influences both the exposure and the outcome) system for Two-level factorials (a type of experimental design where each factor (independent variable) is investigated at only two levels, typically denoted as "high" and "low" or "+1" and "-1")
Regression modeling (statistical model that estimates the relationship between one dependent variable and one or more independent variables using a line): Hypothesis testing in Simple and Multiple regression models
Introduction to Practical components of Industrial and Clinical Trials Problems: Statistical Analysis Using Excel, SPSS, MINITAB®️, DESIGN OF EXPERIMENTS, R - Online Statistical Software to Industrial and Clinical trial approach
RE-LIVE THE EUPHORIA!!!!
The Quiz club of PSGCAS brings to you a fun-filled breezy general quiz set from numismatics to sports to pop culture.
Re-live the Euphoria!!!
QM: Eiraiezhil R K,
BA Economics (2022-25),
The Quiz club of PSGCAS
A short update and next week. I am writing both Session 9 and Orientation S1.
As a Guest Student,
You are now upgraded to Grad Level.
See Uploads for “Student Checkin” & “S8”. Thx.
Thank you for attending our workshops.
If you are new, do welcome.
Grad Students: I am planning a Reiki-Yoga Master Course (As a package). I’m Fusing both together.
This will include the foundation of each practice. Our Free Workshops can be used with any Reiki Yoga training package. Traditional Reiki does host rules and ethics. Its silent and within the JP Culture/Area/Training/Word of Mouth. It allows remote healing but there’s limits As practitioners and masters. We are not allowed to share certain secrets/tools. Some content is designed only for “Masters”. Some yoga are similar like the Kriya Yoga-Church (Vowed Lessons). We will review both Reiki and Yoga (Master tools) in the Course upcoming.
Session Practice, For Reference:
Before starting a session, Make sure to check your environment. Nothing stressful. Later, You can decorate a space as well.
Check the comfort level, any needed resources (Yoga/Reiki/Spa Props), or Meditation Asst?
Props can be oils, sage, incense, candles, crystals, pillows, blankets, yoga mat, any theme applies.
Select your comfort Pose. This can be standing, sitting, laying down, or a combination.
Monitor your breath. You can add exercises.
Add any mantras or affirmations. This does aid mind and spirit. It helps you to focus.
Also you can set intentions using a candle.
The Yoga-key is balancing mind, body, and spirit.
Finally, The Duration can be long or short.
Its a good session base for any style.
Next Week’s Focus:
A continuation of Intuition Development. We will review the Chakra System - Our temple. A misguided, misused situation lol. This will also serve Attunement later.
For Sponsor,
General updates,
& Donations:
Please visit:
https://ldmchapels.weebly.com
Artificial intelligence Presented by JM.jmansha170
AI (Artificial Intelligence) :
"AI is the ability of machines to mimic human intelligence, such as learning, decision-making, and problem-solving."
Important Points about AI:
1. Learning – AI can learn from data (Machine Learning).
2. Automation – It helps automate repetitive tasks.
3. Decision Making – AI can analyze and make decisions faster than humans.
4. Natural Language Processing (NLP) – AI can understand and generate human language.
5. Vision & Recognition – AI can recognize images, faces, and patterns.
6. Used In – Healthcare, finance, robotics, education, and more.
Owner By:
Name : Junaid Mansha
Work : Web Developer and Graphics Designer
Contact us : +92 322 2291672
Email : [email protected]
THE QUIZ CLUB OF PSGCAS BRINGS T0 YOU A FUN-FILLED, SEAT EDGE BUSINESS QUIZ
DIVE INTO THE PRELIMS OF BIZCOM 2024
QM: GOWTHAM S
BCom (2022-25)
THE QUIZ CLUB OF PSGCAS
Completed Sunday 6/8. For Weekend 6/14 & 15th. (Fathers Day Weekend US.) These workshops are also timeless for future students TY. No admissions needed.
A 9th FREE WORKSHOP
Reiki - Yoga
“Intuition-II, The Chakras”
Your Attendance is valued.
We hit over 5k views for Spring Workshops and Updates-TY.
Thank you for attending our workshops.
If you are new, do welcome.
Grad Students: I am planning a Reiki-Yoga Master Course (As a package). I’m Fusing both together.
This will include the foundation of each practice. Our Free Workshops can be used with any Reiki Yoga training package. Traditional Reiki does host rules and ethics. Its silent and within the JP Culture/Area/Training/Word of Mouth. It allows remote healing but there’s limits As practitioners and masters, we are not allowed to share certain secrets/tools. Some content is designed only for “Masters”. Some yoga are similar like the Kriya Yoga-Church (Vowed Lessons). We will review both Reiki and Yoga (Master tools) in the Course upcoming.
S9/This Week’s Focus:
* A continuation of Intuition-2 Development. We will review the Chakra System - Our temple. A misguided, misused situation lol. This will also serve Attunement later.
Thx for tuning in. Your time investment is valued. I do select topics related to our timeline and community. For those seeking upgrades or Reiki Levels. Stay tuned for our June packages. It’s for self employed/Practitioners/Coaches…
Review & Topics:
* Reiki Is Japanese Energy Healing used Globally.
* Yoga is over 5k years old from India. It hosts many styles, teacher versions, and it’s Mainstream now vs decades ago.
* Anything of the Holistic, Wellness Department can be fused together. My origins are Alternative, Complementary Medicine. In short, I call this ND. I am also a metaphysician. I learnt during the 90s New Age Era. I forget we just hit another wavy. It’s GenZ word of Mouth, their New Age Era. WHOA, History Repeats lol. We are fusing together.
* So, most of you have experienced your Spiritual Awakening. However; The journey wont be perfect. There will be some roller coaster events. The perks are: We are in a faster Spiritual Zone than the 90s. There’s more support and information available.
(See Presentation for all sections, THX AGAIN.)
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxArshad Shaikh
Diptera, commonly known as flies, is a large and diverse order of insects that includes mosquitoes, midges, gnats, and horseflies. Characterized by a single pair of wings (hindwings are modified into balancing organs called halteres), Diptera are found in almost every environment and play important roles in ecosystems as pollinators, decomposers, and food sources. Some species, however, are significant pests and disease vectors, transmitting diseases like malaria, dengue, and Zika virus.
This presentation was provided by Nicole 'Nici" Pfeiffer of the Center for Open Science (COS), during the first session of our 2025 NISO training series "Secrets to Changing Behavior in Scholarly Communications." Session One was held June 5, 2025.
This presentation has been made keeping in mind the students of undergraduate and postgraduate level. To keep the facts in a natural form and to display the material in more detail, the help of various books, websites and online medium has been taken. Whatever medium the material or facts have been taken from, an attempt has been made by the presenter to give their reference at the end.
In the seventh century, the rule of Sindh state was in the hands of Rai dynasty. We know the names of five kings of this dynasty- Rai Divji, Rai Singhras, Rai Sahasi, Rai Sihras II and Rai Sahasi II. During the time of Rai Sihras II, Nimruz of Persia attacked Sindh and killed him. After the return of the Persians, Rai Sahasi II became the king. After killing him, one of his Brahmin ministers named Chach took over the throne. He married the widow of Rai Sahasi and became the ruler of entire Sindh by suppressing the rebellions of the governors.
Different pricelists for different shops in odoo Point of Sale in Odoo 17Celine George
Price lists are a useful tool for managing the costs of your goods and services. This can assist you in working with other businesses effectively and maximizing your revenues. Additionally, you can provide your customers discounts by using price lists.
2. 1.What Is PHP?
PHP:Hypertext Preprocessor.
PHP is a server side scripting language that
is embedded in HTML. It is used to manage
dynamic content, databases, session tracking,
even build entire e-commerce sites.
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
2
4. 2.Why You Choose PHP?
Open Source
High Performing
Flexible and Dynamic
Effective Frameworks And CMS
Large Community
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
4
5. 3. What's the latest version of php?
It’s 7.4.4 => 19 Mar 2020
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
5
6. 4. What are the major difference
between PHP 5 and PHP 7?
Performance
Declaring The Return Type
Error Handling
Spaceship Operator
Anonymous Class
New Operators
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
6
7. 5. Is PHP a strongly typed language?
No. PHP is a weakly typed or loosely typed
language
Sample code:
• $var = "Hello"; //String
• $var = 10; //Integer
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
7
8. 6.What is a class?
Collection Of Data member and member
Functions.
Example:
class Person{
public $name;
public $age;
}
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
8
9. 7. What is a Object?
Object is real time entity.
Object has some properties and behaviors.
$obj = new MyClass();
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
9
10. 8.What is Constructor and
Destructor?
Constructor:
Constructor is a special type of function
which will be called automatically
whenever there is any object created from
a class.
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
10
11. If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
11
Destructor:
Destructor is a special type of function which
will be called automatically whenever any
object is deleted or goes out of scope.
12. 9.What are access modifiers?
Public
Private
Protected
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
12
13. 10. What is Encapsulation?
Wrapping up member variables and methods
together into a single unit (i.e. Class) is called
Encapsulation.
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
13
14. 11. What is Abstraction?
Abstraction is a concept in which
implementation details are hidden..
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
14
15. 12.Explain about polymorphism?
One thing, can use in different forms
1)Function Overloading
2)Function Overriding
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
15
16. 12.Explain about polymorphism?
One thing, can use in different forms
1)Function Overloading
2)Function Overriding
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
16
17. 13. Magic Methods in PHP
Construct
Destruct
Clone
Call
Autoload
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
17
18. 14.Difference Between Interfaces &
Abstract Class
Interface:
An interface is an agreement or a contract.
When a class implements an interface, It
means it contains same public methods of an
interface with their implementation.
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
18
19. If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
19
Abstract class Interface
In abstract class a method must be
declared as abstract. Abstract methods
doesn’t have any implementation.
In interface all the methods by default are
abstract.
Abstract class can also contain member
variables and concrete
functions/methods.
Interfaces cannot contain any member
variables and concrete functions/methods
except constants.
An Abstract methods can be declare
with access modifiers like public,
protected etc. Concrete Class which is
extending the abstract class must be
defined with the same or visibility.
All methods declared in an interface must
be public.
A class can Inherits only one Abstract
class and Multiple inheritance is not
possible for Abstract class.
A class can implements many interfaces
and Multiple interface inheritance is
possible.
Only complete member of abstract class
can be static.
Memebrs of Interface can not be static.
20. 15.What is STATIC keyword and what
is it's use in PHP ?
static member
static Function
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
20
21. 16.What is Traits in PHP?
Traits are a mechanism for code reuse in single
inheritance languages such as PHP.
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
21
22. 17. What are the advantages of
object oriented programming?
Code Resusability
Modularity
Flexibility
Maintainability
Security
Testability
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
22
23. About Us
We Are Proving Professional It Training. If you
Want to learn Any New Technology you can
contact us on :
Contact On :
https://versionup.in/
Call On :+91 8780656929
If You want to Learn PHP Contact On +91 8780656929
https://versionup.in/
23