Multiple Choice Question

Quiz Guidelines

 

QID: 
387
Question: 

What is the correct declaration for an abstract method 'add' accessible to any class, takes no arguments and returns nothing? (Use only one space between words)

Select 1 option

A. public void add(); 
B. abstract add(); 
C. abstract null add(); 
D. abstract public void add(){ } 
E. abstract public void add() throws Exception; 

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!