This question already has an answer here:
Since the old insufficient effort close reason has been removed, are questions showing no effort at all no longer meant to be closed? Just downvoted? If they're meant to be closed, what's the current appropriate close reason? The SO help still refers to the "must demonstrate a minimal understanding of the problem being solved" reason that no longer exists.
I did find this recent closely-related meta question, but I don't see any clear answer about what we do about them there.
Recently this question was asked on Stack Overflow (with this formatting):
How do you create a sorted list in case it is youngest to eldest and shortest name to longest name?
public class Person
public static void main(String args)
I don't believe a question like that has a place on SO, but none of the current close reasons seems (on the surface) to apply. (In this case, the OP deleted it after it was downvoted, but they frequently don't.) Sadly we all know there are plenty of these. We used to dispatch them quite quickly with the "insufficient effort" close reason. Shog9 feels that reason was abused (I certainly saw it get abused), and I could certainly see a strong case for rewording it. But I think there's a gap that needs filling.
So is there a current close reason for this? Or are we not closing these? Are we flagging them? What?
There are a couple of old meta questions on this that no longer apply: