Multiple choice technology web technology

Which method is executed first on load of page in zk?

  1. onCreate

  2. doAfterCompose

  3. onClick

  4. service

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The onCreate method is executed first when a ZK page loads. It is called immediately after a component is created and before any other lifecycle events. doAfterCompose is called for MVC composers after components are created, onClick is an event handler triggered later by user action, and 'service' is not a standard ZK lifecycle method. onCreate fires first in the component initialization sequence.