public class HelloWorld
public static void main(String[] args)
System.out.println("Hello, Java!");
Search for "Java Notes by Natraj" in the Telegram app. Many student communities share the latest scanned PDFs for free. Look for channels with "Job Updates" or "CS/IT Study Material."
try
int a = 10/0;
catch(ArithmeticException e)
System.out.println("Cannot divide by zero");
finally
System.out.println("Always runs");