answersLogoWhite

0


Best Answer

an abstract class is nothing but class which contains both abstract and concrete methods for abstract class we r nt create object

Syntax for pure abstract class is

abstract class x

{

public void abstract y();

public void abstract z();

public void abc()

{

}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an abstract class Write the syntax Declare a pure virtual function in an abstract class?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why is syntax important in VB Scripting?

The syntax of function (I hope that Function is related to function syntax):1. Helps you in using or calling the function even though you do not know the whole implementation inside it2. Helps the compiler in performing the cross check of the function called used in code, as it checks if the syntax matches with used one or not.3. Helps in solving compiler error to some extent.I think it is the 'function prototype' what you think of. Syntax is a set of rules that formally describe a programming language.


What is the syntax of function?

Function declaration, definition, or calling? Pick one.


The rules for constructing a function can be referred to as the function's?

Syntax refers to the rules for constructing a function.


How you declare a variable in c language?

you have to give a statement in the following syntax datatype variable;


What is the syntax of the AVERAGE function in Microsoft Excel?

The Average function can use numbers, cells or ranges or a mix of these. IT can take up to 255 values. The general syntax is: =AVERAGE(number1, [number2], ...)


Why should a function or a variable be declared before its first use?

It is somewhat syntax of programming. But when program runs,device known as pre-processor process statements before main function. So when we use that function inside main function it will get idea and run directly without showing any error. So for compilers simplicity and fast execution purpose it is necessary to declare function before its use.


What is written in the correct syntax in Excel?

When functions are used, they must follow their designated structure, which is the syntax. If the syntax is not followed, the function will not work. The same is the case if VBA is being used to write code for the worksheet.


What is the function and syntax of printf statement?

it's not a statement, it's a function: len= printf (format, ...more-parameters...);


What is an object function?

A function object is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax ...


What errors do function prototype help prevent?

Syntax errors and prototype errors.


How do you create function in php?

they're called user-defined functions, this is the syntax: function the_user_defined_name() { the code you want here }


What is the syntax of oracle dynamic sql?

The syntax for dynamic sql is For example if you want to create table at run time then syntax is Declare V-string varchar2(900); begin V_string:='create table ORACLE (empno number,ename varchar2(90)'); execute immediate V_string; end; /