Difference between Method declarations and constructor declerations

Average Rating
0 out of 5 stars. 0 votes.

Difference between Method declarations and constructor declerations

method Dec = always specify return type such as public static void and the method name is always started with a lower case. Where as constructor Dec = never has a return type so its only public or private and should always start with an uppercase for its name.