Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can i give class name as a reference..  RSS feed

 
Bhargavan Marepalli
Greenhorn
Posts: 15
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i give like this??
A A=new A();
i didnt find any error but is it but is it correct??
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you have already found out, yes. But it is not recommended as per the naming conventions http://download.oracle.com/javase/tutorial/java/nutsandbolts/variables.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!