import java.util.*; /** * Write a description of class BilListe here. * * @author (your name) * @version (a version number or a date) */ public class Kjøretøy { // instance variables - replace the example below with your own int verdiKr; String eier; /** * Constructor for objects of class BilListe */ public Kjøretøy(int verdiKr, String eier) { this.verdiKr = verdiKr; this.eier = eier; } public void print() { System.out.println("Dette kjøretøyet har en verdi av kr: " + verdiKr + ". Det eies av " + eier + "."); } }