What is an abstract class in java, JAVA Programming

Question:

(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

Instructions Modify the program so that the computer will generate moves for the ‘O' player (it must continue to accept user input for ‘X'). A simple way to do this is to use a

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

I want Hall Rental Website Project Description: I want to prepare website for my party venue where i will post the photos and detail of place along with availability calendar

My java asignment is the following. Sorry if this is a repeat send. My email is Finding the largest object Write a method that returns the largest objects in an array of objects.

Java Message Service: An interface executed by most J2EE containers to give point-to-point queueing and topic (publish/subscribe) behavior. JMS is frequently used by EJB's that req

Describe toString() Methods ? Print methods are general in some languages, but most Java programs operate differently. You can use System.out.println() to print any object. The


An ActionForm is a JavaBean that extends org.apache.struts.action.ActionForm.  ActionForm handles the session state for web application and the ActionForm object is automatically p

Difference between Hash Map and Hash Table? The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and allows nulls. (HashMap allows null values