what is abstract method with example?
Answer Posted / srinivasa
A method without implementation
or
Abstract method does not contian the method body.It
contains method prototype . It is implemented in its sub
classes.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What will be the output of round(3.7) and ceil(3.7)?
What happens when main () method is declared as private?
What are the uses of synchronized keyword?
Write a function for palindrome and factorial and explain?
What is the difference between Error, defect,fault, failure and mistake?
Where import statement is used in a java program?
What flag up means?
how its run?
Is java same as core java?
What is illegal identifier in java?
What is a flag variable?
Can we rethrow the same exception from catch handler?
Does java support multiple inheritance or not?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
Why super is first line in java?