Step 1: List the constraints and find the vertices:
The constraints are $x + y \le 4$, $x \ge 0$, $y \ge 0$. Setting two boundaries equal at a time gives the corners. $x = 0$ and $y = 0$ give $(0, 0)$. $y = 0$ and $x + y = 4$ give $(4, 0)$. $x = 0$ and $x + y = 4$ give $(0, 4)$.
Step 2: Why checking corners is enough:
The objective $Z = 3x + 4y$ is linear, and the feasible region is a closed triangle. A linear function on such a region takes its largest and smallest values at vertices, never strictly inside.
Step 3: Make a small table of Z:
Vertex $(0, 0)$ gives $Z = 0$. Vertex $(4, 0)$ gives $Z = 12$. Vertex $(0, 4)$ gives $Z = 16$. As a quick sanity check, moving along the line $x + y = 4$ from $(4, 0)$ to $(0, 4)$ trades 1 unit of $x$ (worth 3) for 1 unit of $y$ (worth 4), so $Z$ rises. This is why the top vertex wins.
Final Answer:
The maximum of $Z = 3x + 4y$ under the given constraints is
\[ \boxed{16 \text{ at } (0, 4)} \]