objleri kadin olarak tanimlamaktir. ilk goruldugunde, goze izdusum alanlari yansir.
public class myobject {
public static void main(string[] args){
rectangle kadin = new rectangle(50, 100);
int area_kadin = kadin.getArea();
system.out.println(area_kadin);
}
} *