Why reference's type is class in Java
In java, Book c = new Book() here c is reference. Why reference's type be a class name. What is the special reason.?
Book c = new Book(); // c points to a Book object. Now, if you declare c as an int, it means that c points to an int.