Can i have abstract class with no abstract methods?

Answer Posted / venkatesh

No, We can't create abstract class without abstract method
abstract class must have atleast one abstract method

Is This Answer Correct ?    19 Yes 142 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a method is declared as protected, where may the method be accessed?

534


What is java oops?

555


How do I type unicode?

536


Is age a discrete variable?

528


Name few java.lang classes introduced with java 8 ?

537






What is the disadvantage of java?

506


Difference between serialization and deserialization in java?

650


Can we write any code after throw statement?

609


What are the escape sequences in java?

563


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

597


How many types of memory areas are allocated by JVM in java?

596


How can you read an integer value from the keyword when the application is runtime in java? example?

621


Is string is a data type?

570


Can you create an object of an abstract class?

551


Write a method that will remove given character from the string?

573