Remember, constructor is a special type of function that returns nothing (Not even void). And in any function definition, opening and closing braces are part of it (). In your above code, there is no...
Type: Posts; User: Mr.777
Remember, constructor is a special type of function that returns nothing (Not even void). And in any function definition, opening and closing braces are part of it (). In your above code, there is no...
Because Java is case sensitive language. Anything related to java is case sensitive.
Look at the package statements. Your both classes are in different packages.