adplus-dvertising
frame-decoration

Question

Which one of the following is true about the following line –
$obj = new ImageHandler(‘/images/’, array(400, 300));

a.

This snippet sets the maximum dimensions allowed to 400 pixels wide by 300 pixels high

b.

This snippet sets the minimum dimensions allowed to 300 pixels wide by 400 pixels high

c.

This snippet sets the minimum dimensions allowed to 400 pixels wide by 300 pixels high

d.

This snippet sets the maximum dimensions allowed to 300 pixels wide by 400 pixels high

Answer: (a).This snippet sets the maximum dimensions allowed to 400 pixels wide by 300 pixels high

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 true about the following line – $obj = new ImageHandler(‘/images/’, array(400, 300));

Similar Questions

Discover Related MCQs

Q. Which version of PHP introduced the static keyword?

Q. Which keyword is used to access a static method or property from within the same class(rather than from child)?

Q. In which of the following circumstance should you use a static reference to a non static method?

Q. Which one of the following variable cannot be used inside a static method?

Q. What does PDO stand for?

Q. Which version of PHP allows you to define constant properties within a class?

Q. Which keyword is used to declare a constant property?

Q. Which one of the following is a constant variable?

Q. What will happen if you try to set a value to a constant once it has been declared?

Q. How many of the following can be contained in constants?

i) boolean
ii) integer
iii) float
iv) string

Q. Which one of the following class can not be instantiated?

Q. Which one of the following keywords is used to define an abstract class?

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

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 _________