I understood the spoon-feeding problem....and i assure i will not repeat this...
Type: Posts; User: KotiChowdary
I understood the spoon-feeding problem....and i assure i will not repeat this...
//Creating Object To The Class APPoint using new() poerator which dynamically allocates space in heap
APPoint a = new APPoint (25.3, -6.8);
//when an object is created to the class then...
hii...
Instead of using multiple scanners use only one scanner to read all the input values of different formats...
for example..
//create Scanner
Scanner s = new Scanner(System.in);
//so you...
hii....
initially initialise top = -1 and variable max with some value......
suppose max = 4;
...removed spoonfed code
...spoonfeeding removed
hii....the code below can solve your problem...
...