+ 5
Java printing System
in java when you print something it's like: L1)first print L2)second print L3)third print . . . But if we want to print vise versa like below: . . . L3)third print L2)second print L1)first print what should we do?
4 ответов
+ 17
then write statement to print L3 first
or take all those lines in an String array & then reverse all the elements of that array & print them
+ 6
Then make your third print your first print?a sample code might help
+ 3
@Brains
no in norm printing when you print values you need to scroll up to reach the first printed value like below:
first print
second print
third print
fourth print
.
.
.
but how we can print values to achieve that when you scroll down to reach first printed value like below:
ninty ninth print
ninty eighth print
.
.
.
.
fifth print
fourth print
thirth print
second print
fisrt print
i meant when you print something it go in top of last printed values
+ 3
@gaurav @deepak you don't just use System printing in arrays or lists. need something more general