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
Get step-by-step solutions from verified subject matter experts
