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.?

Answers


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. 

Need Your Help

Fade out function of audio between samplerate changes

algorithm function math audio sample-rate

I'm trying to create a simple function that will decrease audio volume in a buffer (like a fade out) each iteration through the buffer. Here's my simple function.