What isan abstract class and when do you use it?
An abstract class allows you to create functionality that subclasses can implement or override. An interface only allows you to define functionality, not implement it. And whereas a class can extend only one abstract class, it can take advantage of multiple interfaces.
Is This Answer Correct ? | 0 Yes | 0 No |
What is string value?
What are Encapsulation, Polymorphism and Inheritance?
Differentiate storage classes on the basis of their scope?
how system.out.println() works?
Why is sizeof not a function?
Define immutable object?
How do I write a self declaration?
how many ways we can serialize the java object?
What is the nested interface?
What are the steps that are followed when two computers connect through tcp?
Write java code to print "Hello how are you" Thread1 should have "Hello" Thread2 should have "how are you" both the threads should start at the same time
What is autoboxing and unboxing?