Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can i give class name as a reference..

 
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
Saloon Keeper
Posts: 11027
12
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