what is the main usage of an abstract keyword?please follow
the program
class A
{
void display()
{
System.out.println("hai");
}
void print()
{
}
}
class B extends A
{
void print()
{
System.out.println("Hello");
}
}
In this program i was gives the implementation of print()
according to my requirements in subclass.And there is no
definition in superclass then why we can use abstract
keyword before a method that i want to gives definition in
other classes,is any mistakes in the above usage of method?
No Answer is Posted For this Question
Be the First to Post Answer
in a VB application, where the data will be stored after manipulation? what is the syntax for that?
What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?
how many languages .net is supporting now?
how many keywords are present in "c"?
18 Answers Assurgent, Cynosure Software, IBM,
when a query is made on Logical file in DB2/400, will the records satisfying select/omit criterion be fetched from all members of physical file or only the member with same name as physical file?
Which tag is used to create the frame
which one is the best practice using synchronization method or synchronization block
if we want to move all the items that are already added in a combobox into an empty list box or vice-versa then how can it possible in vb or C# ?
how to convert infix expression to prefix expression?
1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.
Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?
how do i add a column dynamically in a table by using java application?