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

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -