Avatar of srikotesh
srikotesh

asked on 

How do i get 30 values from the list every time using java.

Hi Experts,

I have a list having values
from the list i want to display an average of 30 values
like let suppose
list having 100 values i want to display 3,6,9,.....up to 30 values
is it possible to get 30 values out of list size?

list size i am not sure how much it is?


list size is 100-->30( i need 30 values from the list)
                   200-->30
                   300-->30
                   400-->30
                   500-->30

Thanks,
Java

Avatar of undefined
Last Comment
srikotesh
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of srikotesh
srikotesh

ASKER

Superb
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo