DO IT NOW, IT IS URGENT
Posted: Tue May 24, 2022 7:56 am
DO IT NOW, IT IS URGENT
Part II: fill-in-the-blank questions (2 points * 10) 1. The four main principles of OOP are: encapsulation, B1, B2, and B3. 2. The primitive types in Java are int, B4, long, byte, B5, float, double, and boolean. 3. Usually, we define the main function as follows: B6 void main(String[] args) ... 4. B7 polymorphism (a.k.a. method overriding) occurs during the runtime of the program, where the methods share the same name but have different implementation. 5. B8 is an engine that provides a runtime environment to drive the Java Code or 5 applications. 6. All methods of an interface are automatically B9. 7. A B10 has the same name as the class.
Part II: fill-in-the-blank questions (2 points * 10) 1. The four main principles of OOP are: encapsulation, B1, B2, and B3. 2. The primitive types in Java are int, B4, long, byte, B5, float, double, and boolean. 3. Usually, we define the main function as follows: B6 void main(String[] args) ... 4. B7 polymorphism (a.k.a. method overriding) occurs during the runtime of the program, where the methods share the same name but have different implementation. 5. B8 is an engine that provides a runtime environment to drive the Java Code or 5 applications. 6. All methods of an interface are automatically B9. 7. A B10 has the same name as the class.