Why reference's type is class in Java -


in java, book c = new book() here c reference. why reference's type class name. special reason.?

book c =  new book(); // c points book object. now, if declare c int, means c points int.  

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -