Answers for "how to print a variable in java"

1

java print variable type

System.out.println(((Object)x).getClass().getName());
Posted by: Guest on September-20-2021
1

print out value java

System.out.println('value')
Posted by: Guest on May-14-2020

Code answers related to "how to print a variable in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language