adplus-dvertising
frame-decoration

Question

Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class?

a.

protected

b.

final

c.

static

d.

private

Posted under Object Oriented PHP PHP

Answer: (c).static

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class?