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
Problem (a) Explain the difference between the real mode and the protected mode in the 80x86 family of processors. (b) The 32-bit physical address 047C:0048 is to be conv

Why is fragmentation needed on Internet not on a typical WAN? TCP/IP protocol utilizes the name IP datagram to demote to an Internet packet. The amount of data carried into a d

Q. How to load DOS from Floppy Disk? If DOS is not setup on the Hard Disk of your PC, or you want to load DOS from the Floppy disk drive due to any reason, follow these steps:

Please explain the construction and working of calomel electrode..

Define data path. The registers, the ALU, and the interconnecting bus are collectively referred to as the data path.

Solve the assignment of NFA-- Finite Automata and Formal Language Project Description: I have an assignment on Finite Automata and Formal Languages ( Nondeterministic Fini

Q. Physical characteristics and access mode of disk drive? Access Time: Access time is time needed between requests made for a read or write operation until the time data are

Binary is an alternative number system which works very good for computers. Humans have ten fingers; that's probably why we use ten digits (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9) in our


What are bags and sequences? A bag is a collection of elements with duplicates permitted.  A sequence is an ordered collection of elements with duplicates permitted.