Interface constructors, Computer Engineering

Describe a interface 'Human' with methods as walk' and 'speak'. Describe a class 'User' implementing 'Human'. Describe a work() method in User class.Add a class 'Person' also executing Human. Add a method 'Behave' inPerson class. In Main method make objects of Person and User andassign them to 'Human' type and call Human methods. Can the work and Behave methods be called by Human types? Can we make the interface objects by calling interface Constructors ? Justify your answer.

Posted Date: 3/19/2013 1:25:57 AM | Location : United States







Related Discussions:- Interface constructors, Assignment Help, Ask Question on Interface constructors, Get Answer, Expert's Help, Interface constructors Discussions

Write discussion on Interface constructors
Your posts are moderated
Related Questions
Name the ABAP/4 Modularization techniques. Techniques are:- Source code module. Subroutines. Functions.

Recombination and Mutation: In such a scenario the point of GAs is to generate population after population of individuals that represent possible solutions to the problem at h

Processors Hypercube This is specific to in the hypercube: Here, every processor is depicted by the set of nodes of the graph and the several arcs are represented with communic

Q. How to Load DOS from Hard Disk? To Load DOS from the Hard Disk of your computer, follow these steps: 1. Turn on the power ON/OFF switch of the CPU unit of your PC the pow

OBJECT MODELING NOTATIONS: BASIC Concepts A system is the collection of subsystems which organised to accomplish a purpose and described by a set of models from variou

what is cursor

Q. Create a Web page from which customers can order equipment? Suppose your boss wants you to create a Web page from which customers can order computer equipment. You need to c

Determine the registers are available in machines Typical registers, some of which are commonly available in machines. These registers are as follows:- Memory Addres

The search-based tools initially recognize problem and afterwards suitably give advice on how to correct it.  AT Expert from Cray Research is one of the tools being employed for

What are the Kernel threads Kernel threads are supported directly by the operating system .Thread creation; scheduling and management are done by the operating system. Thus the