Java code to print numbers from 1 to 10 without using loops

Published --