Something went wrong. Try again.
Codelabs for major subjects in the BSIT course at STI College Meycauayan. gitlab.com/andreijiroh-dev/labs/studentops-codelab
codelabs labs
Something went wrong. Try again.
758 B · 28 lines
Java
at main
12345678910111213141516171819202122232425262728package dev.andreijiroh.studentops.projects;
/** * Computer Programming 2 - 01 Laboratory Exercise * * Library code needed for the lab output * * @author Andrei Jiroh Eugenio Halili (STI College Meycauayan) <halili.459491@meycauayan.sti.edu.ph> * @see https://elms.sti.edu/student_lesson/show/5530563?lesson_id=25675185§ion_id=108711104 */public class BarbershopService { private String serviceDescription; private double price;
public void setServiceDescription(String service) { serviceDescription = service; } public void setPrice(double servicePrice) { price = servicePrice; }
public String getServiceDescription() { return serviceDescription; } public double getPrice() { return price; } }