This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package oop.lesson1.homework.rectange; | |
public class RectangleRunner { | |
public static void main(String[] args) { | |
Rectangle[] listRectangles = {new Rectangle(8, 4), new Rectangle(5, 6), new Rectangle(7, 6)}; | |
System.out.println(sumArea(listRectangles)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lecture5_practic; | |
/** | |
* Created by Xepcoh on 05.09.2016 | |
*/ | |
public class Desc { | |
public static void main(String[] args) { | |
int n = 1; | |
boolean white = true; |
NewerOlder