Abstract Method
Title
Question
Please I don't understand the point "No opening and closing parenthesis ()". Please is it "No opening and closing curly bracket{}" or "No opening and closing parenthesis ()". Thank you.
Java Abstract-Classes 01-02 min 0-10 sec
Answers:
Paranthesis refers to brackets ( ).
When you declare the class name you use ( ) but for the code snippet for the class we use { }.
class name declared with ()
but the codes within the class are specified in the { }
Login to add comment