Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Added: Jan 18, 2021 10:10 AM
Views: 4
Tags: method
  1.     public void showInfo() {
  2.  
  3.         System.out.println("Hostname: " + this.hostname);
  4.         System.out.println("IP-Adresse: " + this.ip);
  5.         System.out.println("Festplatten: " + this.disk.length);
  6.         System.out.println("Kapazität: " + this.getTotalCapacity());
  7.         System.out.println("Davon frei: " + this.getFreeCapacity());
  8.     }