Log in

View Full Version : Ask java programming questions online


greenday89
Aug 22, 2013, 03:02 PM
How do you write a function List multiPop(int k) that pops k elements from the stack or until the stack is empty?

salvation22
Sep 4, 2013, 01:45 AM
Create an abstract class called Product that has an abstract method called computeSalePrice() (which will return a double value) and a private data field called regularPrice (double). Write a constructor for the class which receives an argument. Write the regulatory get and set methods for the data item.