PHP Object Oriented Programming
Test
Model Test
Ebook
Quiz-1 : PHP Fundamental
Quiz-2 : PHP Variables and Datatypes
Quiz - PHP Basic 1
Quiz - PHP Fundamental 3
Quiz - PHP Advanced Concept, Networking, Super G.
Quiz - PHP Networking
Quiz PHP Object Oriented Programming
Quiz - PHP string,oop,regular expression
Quiz - PHP and MySQL
Quiz - PHP String,Security,Webservice
Index
PHP Home
PHP Fundamentals
230
PHP Input/Output
16
PHP Object Oriented Programming
59
PHP Installation & Configuration
17
Reported Questions
80
PHP Functions
16
PHP Regular Expression
33
PHP Variables and Datatypes
62
PHP Arrays
104
PHP Operators and Expressions
6
PHP Built-in Constants and Standard PHP .
10
PHP Advanced Concepts
120
PHP Error Handling
34
PHP String Operation
36
PHP Language Syntax
11
PHP Super Globals
21
PHP Datetime and timezone
4
PHP Networking
12
PHP with MySQL
5
PHP Web Service
10
PHP Security
15
PHP File Handling
9
PHP PEAR
7
PHP Control Structure
7
PHP Form Handling
1
Schools
Ebook
Question:
PHP does not support which of the following OOP properties?
A
Object Cloning
B
Multiple inheritance
C
Interface
D
Namespace
Note:
Not available
Show answer
Show Note
Report
Question:
Which are the fundamental concept of object oriented programming?
A
inheritance
B
polymorphism
C
encapsulation
D
All
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following property is used in initialize object properties?
A
method
B
constructor
C
destructor
D
_toString
Note:
Not available
Show answer
Show Note
Report
Question:
There is a PHP class called MyPhp;and it has a function getData().If the $callPhp is an object of the class MyPhp then what is the correct statement from the following to call getData() function?
A
$callPhp->getData();
B
$callPhp-getData();
C
$callPhp<-getData();
D
$callPhp(getData());
Note:
Not available
Show answer
Show Note
Report
Question:
If your object must inherit behavior from a number of sources you must use?
A
Interface
B
Abstract class
C
Static
D
Object
Note:
Not available
Show answer
Show Note
Report
Question:
What is the default scope of any variable and function?
A
public
B
static
C
private
D
protected
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following function is used to merges arrays together and return a single unified array?
A
array_combine()
B
array_merge()
C
array_slice()
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
The methods declared only within a parent class but are implemented in the child classes is called?
A
final method
B
interface
C
abstract method
D
public method
Note:
Not available
Show answer
Show Note
Report
Question:
Which keyword allows class members (methods & properties) to be used without needing to instantiate a new instance of the class?
A
Protected
B
Final
C
Static
D
Private
Note:
Not available
Show answer
Show Note
Report
First
Prev
4
5
6
Next
Last
/6
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd