MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers
→
We define our own class by starting with the keywo...
1.
We define our own class by starting with the keyword ______ ?
A.
class
B.
function
C.
auto
D.
var
Answer» B. function
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
The class from which the child class inherits is called (i) Child class (ii) Parent class (iii) Super class (iv) Base class
<?php class letsfindcourse{ public function __destruct(){ echo 'The class "' . __CLASS__ . '" was destroyed!'; } } $lfc = new letsfindcourse; ?>7.Which one of the following functions is used to determine whether a class exists?
<?php class letsfindcourse { public function __construct(){ echo 'The class "' . __CLASS__ . '" was initiated!<br>'; } } $lfc = new letsfindcourse; ?>6.Which of the following is the output of the below code?
Which of the following is the output of the below code?
We define our own class by starting with the keyword ______ ?
What will be the syntax of defining the class?
Class is a programmer-defined data type, which includes _____ methods and ______ variable?
Classes are the _______ of objects.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies