[Java Basics] Convert Types

Long to String

long b = 12L;
System.out.println(String.valueOf(b));


String to Long

Long.parseLong("999");