Daft question but ive been programming C for years and recently starting learning java, i have seen the following question
How many tins of paint? Demonstrate use of “sequence” in the design and development of a Java program.
Am i write in thinking a sequence is similar to a data structure
I have no idea what that question means. Probably because I learned my vocabulary 40 years ago.
I really don't know what you're asking. I suppose you could make a simple program that loops through counting or decrementing paint cans as they are used, kind of like the 99 bottles of beer game.