This might work?
I have no idea.
I have asked a prompt I’m working on to answer your question.
<<>>
Java Practice Exercise Generator – Creates Scaffolded Coding Challenges With Hints, Solutions, and Testing Strategy
⸻
What This Does
Paste the prompt below into ChatGPT or Claude, and it will generate a complete Java coding practice problem based on your chosen topics. The output is structured into four parts:
✅ Scaffold code: Empty class/method structure (no spoilers)
🧠 Strategic hints: Guidance on how to implement each part
💡 Full solution: Complete working code (comes after the scaffold)
🧪 Testing tips: How to verify your code works
This isn't a generic example dump. It builds a full, realistic challenge tailored to the Java concepts you want to practice. Expect 20-40 lines of scaffold code and comprehensive solutions.
⸻
How to Use It
Copy the prompt from the section below
Replace {Insert Java concepts here}
with your topics - see examples below
Optionally set a theme like "e-commerce system" or "game inventory"
Paste into ChatGPT or Claude and follow the structured output