Code: Select all
class bool {}
...
bool b = null;
Moderator: admin
Code: Select all
class bool {}
...
bool b = null;
bool is an invalid keyword. Therefore, 1 and 4 can't be right. (Although 1 could be right if bool were a user defined class but as per Java coding conventions, a class name should start with a capital letter.)
Users browsing this forum: No registered users and 35 guests