This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html>Simple <b>Java</b> application that includes a class with <code>main()</code> method</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package SatyamCorp.company; | |
/** | |
* Created by SatyamCorp on 07-Mar-17. | |
*/ | |
public class DeluxeBurgers extends Hamburgers{ | |
public DeluxeBurgers() { | |
super("Deluxe","Fleshy",14.57, "Fluffy Wheat Bread"); | |
super.AddHamburgerAdditional1("Coke",5.67); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package SatyamCorp.company; | |
public class Main { | |
public static void main(String[] args) { | |
// write your code here | |
Wall wall1 = new Wall("left","red"); | |
Wall wall2 = new Wall("Right","yellow"); | |
Wall wall3 = new Wall("West","green"); | |
Wall wall4 = new Wall("East","grey"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package SatyamCorp.company; | |
/** | |
* Created by SatyamCorp on 21-Feb-17. | |
*/ | |
public class Case { | |
private String Model; | |
private String Manufacturer; | |
private String PowerSupply; |