doramartinez402 doramartinez402 22-02-2024 Computers and Technology contestada write java statements that define a variable named window of type rectangle, and then create a rectangle object and assign it to that variable. therectangle constructor has two intparameters.