What is an abstract class in java, JAVA Programming


(a) Java does not support multiple inheritance but does provide the concept of ‘interface'. Explain how interfaces can help a programmer to implement multiple inheritance in their programs. Explain with suitable Java examples.

(b) What is an abstract class in Java? Describe the importance of implementing these classes in programs. Illustrate with an example of your own.

(c) Show the Java approach to event processing by explaining how event handling works in Java. Use an example to support your answer.

(d) Describe what is a ‘Listener' in Java using an appropriate example?

Posted Date: 11/8/2013 5:34:01 AM | Location : United States

Related Discussions:- What is an abstract class in java, Assignment Help, Ask Question on What is an abstract class in java, Get Answer, Expert's Help, What is an abstract class in java Discussions

Write discussion on What is an abstract class in java
Your posts are moderated
Related Questions
Describe Member Variables vs. Local Variables ? class Car { String licensePlate = ""; // member variable double speed; = 0.0; // member variable double maxSp

What is a packet within the network environment? What kind of information does it contain? A packet is the shortest unit of data transmitted over a computer network. It's a mes

Write a short note on image preloading process? The primary use of image preloading procedure is to download the image within the cache before it is actually required to displa

Describe life cycle of thread. Threads follow the single flow of control. A thread is execution in a program. The life cycles of threads are listed below: Newborn state: A

h there, i want you please to make an full assignment due in Friday :)

Question: (a) State and explain clearly FIVE new features of Actionscript 3.0 as compared to Actionscript 2.0. (b) Explain clearly the concept of events and events listen

The RMI architecture is based on one significant principle: the definition of behavior and the execution of that behavior are separate concepts. RMI allows the code that describes

memory allocation of local variable

An introduction permits the user to add new methods or attributes to an existing class. This can then be explained to an existing class without having to change the structure of th