There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?
HCL,
5 9355I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.
3 12865How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.
4 9131
What are the main features of java?
What is the difference between JDK and JVM?
How will you reverse a singly-link list?
What is a 16 bit word?
What are the properties of thread?
Tell me how many ways are there to initialise an integer with a constant.
what is nested class in java?
What is a methodologist?
What is an abstract class and what is it’s purpose?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
Can an interface extend a class?
What is the maximum length of a url?
What about method local inner classes or local inner classes in java?
Do extraneous variables affect validity?
What is meant by oops concept in java?