Question: a) The following code is written in Java: public abstract class Theme Park { private String name; private int ICNO; Public Theme Park (String name,

a) The following code is written in Java: public abstract class Theme Park { private String name; private int ICNO; Public Theme Park (String name, int ICNO) { This name = name; This.ICNO = ICNO; Public class Indoor extends Theme Park { Private boolean FunWorld; Private boolean Snowworld; Public Indoor (String name, int ICNO, boolean FunWorld, boolean SnowWorld) { super (name, ICNO); this.FunWorld = FunWorld; this.SnowWorld = SnowWorld; }} Based on your observation, list ONE (1) characteristic of object-oriented programming available in the above code and explain. (2 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!