Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CalcTiempoDescarga {
- public double sizeMB, speedMBps, timeSec;
- public CalcTiempoDescarga(double sizeMB, double speedMBps) {
- this.sizeMB = sizeMB;
- this.speedMBps = speedMBps;
- }
- public void calcular() {
- this.timeSec = sizeMB / speedMBps * 1024;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement