Describe the concept of constructor chaining, JAVA Programming

Assignment Help:

Question:

A new software engineer has joined Axistex Ltd. The systems analyst informs him that the organisation works with different operating system. The HR department works with Windows Vista, the payroll department works with Solaris while the others work with Linux. However, all the departments are also using software developed in Java. The systems analyst who has never worked with Java before was wondering whether Java will be compatible with the various platforms.

i) Explain briefly what the Java software engineer response to the systems analyst should be.

ii) Illustrate your explanation using an appropriate diagram.

b) Define the following terms with appropriate Java example:

i) Data encapsulation
ii) ‘protected' keyword
iii) ‘final' keyword
iv) instantiation.

c) In the context of "constructors", answer the following questions:

i) State any 2 features of "constructors".

Describe the concept of "constructor chaining" with help of a suitable Java code.


Related Discussions:- Describe the concept of constructor chaining

What restrictions are placed on method overriding, What restrictions are pl...

What restrictions are placed on method overriding? Overridden methods must have the similar name, argument list, and return type. The overriding method may not limit the access

What is a final modifier? illustrate other java modifiers?, A final class w...

A final class will not be extended i.e. A final method cannot be overridden when its class is added. You can't modify value of a final variable.

#tSutherland cohen line clipping algorithm, how do you write the code so th...

how do you write the code so the line will be clipped

Differentiation between a vector and an array, Differentiation between a V...

Differentiation between a Vector and an array . Explain in Brief about the pros and cons of both?

Illustrate the method to print on the GUI, Illustrate the method to print o...

Illustrate the method to print on the GUI Example Code: Taking Input / Output So far, we learned how to print something on console. Now time has come to learn how to print

Complete the specification of chatter, Tasks: Complete the specifica...

Tasks: Complete the specification of CHATTER, and specify ChatterLists. Implement these ADTs in Java with an abstract class Chatter and a class ChatterList. Use javado

Need simple desktop software, Need Simple Desktop Software I am seeking ...

Need Simple Desktop Software I am seeking a software that can do the subsequent: 1. Check position for a URL in Google, Yahoo, Bing. 2. Check position for a YouTube video

I am requiring webcam software integrated into my site, I am requiring webc...

I am requiring webcam software integrated into my site I have website and I am wanting webcam software integrated into my site the company I have found doesn't offer support in

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd