Question: the programming language is java ii. In a Java program, why does main need to be public? iii. Give a concise definition of abstract data
the programming language is java
ii. In a Java program, why does main need to be public? iii. Give a concise definition of abstract data type. Use the definition from class. iv. Briefly describe the differences between a stack and a queue v. Briefly describe what a final class and what a final method are vi. Give a concise definition of a method signature. What is the method signature of the toString and equals methods from the Object class? vii. What is the difference between a primitive data type and a reference data type? viii. Briefly describe the difference between a class attribute and an instance attribute ix. Briefly describe the difference between a class method and an instance method x. Briefly describe the four sections of the memory model discussed in class: stack, heap, data segment, code segment xi. Briefly describe the differences between the "is-a" and "has-a" relationship of classes. xii. Briefly describe the difference between an abstract class and a concrete class. xiii. Briefly describe the differences between an abstract class and an interface
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
