Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ public class Task01Main {
public static void main(String[] args) {
//здесь вы можете вручную протестировать ваше решение, вызывая реализуемый метод и смотря результат
// например вот так:
/*
boolean b = canGetDriverLicense(100);
System.out.println(b);
*/
}

static boolean canGetDriverLicense(int age) {
return true;//todo напишите здесь свою корректную реализацию этого метода, вместо существующей
return age >= 18;
}
}