int public; Identify this Java identifier
Answers
Answered by
0
Answer:
Syntax error since keywords can't be taken as identifiers and the question is int public so there would be error.
Answered by
2
They can be a class name, variable name, method name, package name, constant name, and more. However, In Java, There are some reserved words that can not be used as an identifier. ... Let's understand it with a simple Java program: public class HelloJava {
Similar questions