Computer Science, asked by ankitathegreat1000, 5 hours ago

int public; Identify this Java identifier​

Answers

Answered by abhishek4205786
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 ananyaanuj2006
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