adplus-dvertising
frame-decoration

Question

Which one of the following is the correct abstract method?

a.

public function write()

b.

abstract function write()

c.

abstract public write();

d.

abstract public function write();

Posted under PHP

Answer: (d).abstract public function write();

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following is the correct abstract method?

Similar Questions

Discover Related MCQs

Q. At least how many abstract methods must an abstract class contain?

Q. Which one of the following keyword is used to implement an interface?

Q. Which version of PHP introduced the concept called late static binding?

Q. Which one of the following methods in the exception class, is used to get a nested exception object?

Q. Which one of the following keyword is used in conjunction with an Exception object?

Q. Which keyword is used to put a stop on inheritance?

Q. PHP provides built-in interceptor methods, which can intercept messages sent to undefined methods and properties. This is also known as _________

Q. Which one of the following method is invoked when a value is assigned to an undefined property?

Q. Which one of the following method is invoked when an undefined method is called by client code?

Q. Which method introduced in PHP 5, is invoked just before an object is garbage collected?

Q. __clone() is run on the ___ object.

Q. Which method is invoked when an undefined property is accessed ?

Q. Which one of the following statements should be used to include a file?

Q. Which one of the following methods is responsible for sending the query to the database?

Q. Which one of the following methods recuperates any memory consumed by a result set?

Q. Which of the methods are used to manage result sets using both associative and indexed arrays?

Q. Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query?

Q. Which version of MySQL introduced the prepared statements?

Q. Which of the following methods is used to execute the statement after the parameters have been bound?

Q. Which one of the following methods is used to recuperating prepared statements resources?