Question: B.1) Shortly explain interface with your own words. B.2) Shortly explain abstract class with your own words and What are two important differences between


B.1) Shortly explain interface with your own words. B.2) Shortly explain abstract  class with your own words and What are two important differences between an abstract class and an actual class? What are the similarities? B.3) 

B.1) Shortly explain interface with your own words. B.2) Shortly explain abstract class with your own words and What are two important differences between an abstract class and an actual class? What are the similarities? B.3) Shortly explain the popularity reason for the OOP. B.4) Shortly explain the has-a and is-a relationship. B.5) Shortly explain the No-parameter constructor behavior in java B.6) Shortly explain the differences between "this" and "super" in java. B.7) Shortly explain the unchecked and checked exceptions. B.8) Shortly explain the visibility kinds in Java. B.9) What will this program print according to Computer and Notebook implementation in the class? Computer comp[] = new Computer[3]; comp[0] = new Computer("Ace", "AMD", 8, 750, 3.5); comp[1] = new Notebook("Dell", "Intel", 4, 500, 2.2, 15.5, 7.5); comp[2] comp[1]; for (int i=0; i B.11) Correct each of the following statements that are incorrect, assuming that class PDGUI and class PDConsole UI implement interface PDUserInterface. a. PDGUI pl = new PDConsoleUI(); b. PDGUI p2 = new PDUserInterface(); c. PDUserInterface p3 = new PDUserInterface(); d. PDUserInterface p4 = new PDConsoleUI(); e. PDGUI p5 new PDUserInterface(); PDUserInterface p6 = p5; f. PDUserInterface p7; p7 = new PDConsoleUI(); Submit 1. Word file that includes an explanation for the answers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

B1 Interface In OOP an interface is a blueprint that defines what methods a class must implement It specifies the behavior of a class without specifying the internal details of how those methods are i... View full answer

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!