a) The following code is written in Java: public abstract class Theme Park { private String name;
Fantastic news! We've Found the answer you've been seeking!
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, 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)
Posted Date: