Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Трикотаж
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' import java.util.*; import java.lang.*; /* Трикотаж */ public class Solution { public static void main(String[] args) { Cat cat1 = new Cat ("Кот1",1,1,1); Cat cat2 = new Cat ("Кот2",2,2,2); Cat cat3 = new Cat ("Кот3",3,3,3); //напишите тут ваш код } public static class Cat { private String name; private int age; private int weight; private int strength; public Cat(String name, int age, int weight, int strength) { //конструктор this.name = name; this.age = age; this.weight = weight; this.strength = strength; } } }
run
|
edit
|
history
|
help
0
Given two sorted arrays, merge them such that the elements are not repeated
Sum of power of digits-1
Геттеры и сеттеры для класса Dog
Add Index of max number in an array
Find merge point of two linkedlists - solution 1
3.F
1.6
2
jb15.0
hextoepeen