Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please want it today Notes: (b) Inser screenchot (picturc) ef Ane progran cade (mrithe yeer matne and ID in the program's first liae as cemunent

Please want it today image text in transcribed
Notes: (b) Inser screenchot (picturc) ef Ane progran cade (mrithe yeer matne and ID in the program's first liae as cemunent ast outjat in wod file and thon convert into parf (Save as palif. Q4: Wrale the answer. 2. Only patf file is asceptod 3. Assignewst file name shoeld be your Univenity iD. 4. Stadent who subenit copiet werk will get Zero Marks. 5. Upload the assigament through your BL_ACKBOARD acoous aely. PROBL.FM TATEMIENIS Q1) Create a class Travel_Pachage having fielde Destination, Tear Gaide.Name, FackageCode, and Price. Declare a matanor method namely epdatePrice0 io increme the Frice by too 5.4R. Suppose the Price before update was 3600 SAR. (2.5 Marka) Q2) Crease a class World with fiolds costiernts and censiriss and inglement the coecept of parameles, Cpestructor widh two paeamecerl. \{2.5 Marks\} Q5) Create a class Shape that defines a variable named niedvm of rype Rectasale, and then sreate a metangle object and asign it to the varable windew. The netangle cestructer lian two ist parameter: (2.5 Marks) Q4) Consider the following clas diagram and aniwer the fellersing (2.5. Marks) Whick ene of the follening mienmests are lrepal, and why ar =ly ent: i) Permat pl= new SludeniO ia) PhDstadent phi = new Stuleen(t) iii) Teacher th - new Perwon0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

Aware of the role of HRM in multinational corporations.

Answered: 1 week ago