No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
hey guys.. can you help me explain this code? public Boolean insertAfter (double key, double dd) { Link current = first1 while (current.dData != key) { current = current.next; if (current == null) Return false; } Link newLink = new Link(dd); if (current == last) { newLink.next = null; last …
Write a java program that uses inheritance to extend box. Use the extend keyword to include weight. // use the super keyword to access the variables //of the parent class, remember that only weight(m) //was declared in this class but the other three //were declared in the parent class so …
public class Inheritance { double width; double height; double deph; Inheritance(); { } Inheritance(double w, double h, double x) { width = y; height = h; depth = d; } void volume(); { System.out.println(width*height*depth); } } class extend1 extends box { double weight; extend1(); { } extend1(double w, double h, …
The End.
reiyn17