This repository is for tasks from "Java from Epam" book.
-
Define class Point in space, with coordinates as Rational Fraction. Create methods for determining distance between points and distance from coordinate origin. Check for three points if they lie on the same line.
-
Mobile network. Define tariff hierarchy for mobile company. Create list of company's tariffs. Count customers across all tariffs. Sort tariffs based on price. Find tariff by param range.
-
Create class Cinema with inner class, objects of which can store information about cinema addresses, films and session start time.
-
Building. Capabilities: build a building; calculate price per square meter; get room count; increase area; let building; do renovations (in any room). Add specialized methods for House, Office, Shopping Center.
-
Check whether string is pangram (uses all characters of the alphabet at least once).