I'm learning Java, and I'm wondering if you can write me a class. It's for inventory management for a tech retailer, and I need a computer class that takes in the model, CPU, clock speed, RAM amount, RAM speed, and SSD size in GB. It should have getters and setters for all of those, and it should have a function to pretty-print the specs.
system
main java sikh rahaa hum, or main soch rahaa hum ki kya aap mujhe ek class likh sakate hai.yah ek takneekee retailor ke liye inventry prabandhan ke liye he, or mujhe ek computer class kii aavashyaktaa he jo model, sipiu, ghadi kii gati, ram raashi, ram kii gati or jibi main esesadi aakaar main letaa he.isamen un sabhi ke liye gaters or setre hona chahie, or isamen spekes ko sundar print karne ke liye ek fnction hona chahie.
user
zarur.yah aapaki suchi ke liye kaam karnaa chahie:

saarvajanik varg computer {
    nijee string Computermodel;
    nijee string cpumodel;
    nijee dabl clockspeed;
    nijee int ramsizeingb;
    nijee int ramspeedinmhz;
    nijee int ssdsizeingb;

    saarvajanik computer (string Computermodel, String cpumodel, dabl clockspeed, int ramsizeingb, int ramspeedinmhz, int ssdsizeingb) {
        this.computermodel = ComputerModel;
        this.cpumodel = cpumodel;
        this.clockspeed = clockspeed;
        this.ramsizeingb = ramsizeingb;
        yah.
        this.ssdsizeingb = ssdsizeingb;
    }

    saarvajanik string getComputerModel () {
        This.computermodel lauten;
    }

    public shunya setacomputermodel (string compotarmodal) {
        this.computermodel = ComputerModel;
    }

    saarvajanik string getCpumodel () {
        yah lautaaen. cpumodel;
    }

    saarvajanik shunya setCpumodel (string cpumodel) {
        this.cpumodel = cpumodel;
    }

    saarvajanik dabl getClockSpeed () {
        ise lautaaen. ClockSpeed;
    }

    saarvajanik shunya setClockSpeed (dabl clockspeed) {
        this.clockspeed = clockspeed;
    }

    saarvajanik int getramsize () {
        ise lautaaen.
    }

    saarvajanik shunya setramsize (int ramsizeingb) {
        this.ramsizeingb = ramsizeingb;
    }

    saarvajanik int getramspeed () {
        ise lautaaen.
    }

    saarvajanik shunya setramspeed (int ramspeedinmhz) {
        yah.
    }

    saarvajanik int getsdsize () {
        yah lautaaen.
    }

    saarvajanik shunya setssdsize (int ssdsizebb) {
        this.ssdsizeingb = ssdsizeingb;
    }

    saarvajanik shunya printspecs () {
        System.out.printf (
            "computer: %s \ ncpu: %s, %.1f ghz \ nram: %d gb, %d mHz \ nstorage: %d gb \ n"
            this.computermodel, this.cpumodel, this.clockspeed, this.ramsizeingb, this.ramspeedinmhz,
            this.ssdsizeingb
        );
    }
}
assistant
<|system|>
</s>
<|user|>
main java sikh rahaa hum, or main soch rahaa hum ki kya aap mujhe ek class likh sakate hai.yah ek takneekee retailor ke liye inventry prabandhan ke liye he, or mujhe ek computer class kii aavashyaktaa he jo model, sipiu, ghadi kii gati, ram raashi, ram kii gati or jibi main esesadi aakaar main letaa he.isamen un sabhi ke liye gaters or setre hona chahie, or isamen spekes ko sundar print karne ke liye ek fnction hona chahie.</s>
<|assistant|>
zarur.yah aapaki suchi ke liye kaam karnaa chahie:

saarvajanik varg computer {
    nijee string Computermodel;
    nijee string cpumodel;
    nijee dabl clockspeed;
    nijee int ramsizeingb;
    nijee int ramspeedinmhz;
    nijee int ssdsizeingb;

    saarvajanik computer (string Computermodel, String cpumodel, dabl clockspeed, int ramsizeingb, int ramspeedinmhz, int ssdsizeingb) {
        this.computermodel = ComputerModel;
        this.cpumodel = cpumodel;
        this.clockspeed = clockspeed;
        this.ramsizeingb = ramsizeingb;
        yah.
        this.ssdsizeingb = ssdsizeingb;
    }

    saarvajanik string getComputerModel () {
        This.computermodel lauten;
    }

    public shunya setacomputermodel (string compotarmodal) {
        this.computermodel = ComputerModel;
    }

    saarvajanik string getCpumodel () {
        yah lautaaen. cpumodel;
    }

    saarvajanik shunya setCpumodel (string cpumodel) {
        this.cpumodel = cpumodel;
    }

    saarvajanik dabl getClockSpeed () {
        ise lautaaen. ClockSpeed;
    }

    saarvajanik shunya setClockSpeed (dabl clockspeed) {
        this.clockspeed = clockspeed;
    }

    saarvajanik int getramsize () {
        ise lautaaen.
    }

    saarvajanik shunya setramsize (int ramsizeingb) {
        this.ramsizeingb = ramsizeingb;
    }

    saarvajanik int getramspeed () {
        ise lautaaen.
    }

    saarvajanik shunya setramspeed (int ramspeedinmhz) {
        yah.
    }

    saarvajanik int getsdsize () {
        yah lautaaen.
    }

    saarvajanik shunya setssdsize (int ssdsizebb) {
        this.ssdsizeingb = ssdsizeingb;
    }

    saarvajanik shunya printspecs () {
        System.out.printf (
            "computer: %s \ ncpu: %s, %.1f ghz \ nram: %d gb, %d mHz \ nstorage: %d gb \ n"
            this.computermodel, this.cpumodel, this.clockspeed, this.ramsizeingb, this.ramspeedinmhz,
            this.ssdsizeingb
        );
    }
}</s>
