제네릭 클래스 모르겠습니다 ㅠㅠ 제발 도와주세요 ㅠㅠ 작성한 코드에서 최대값과 최소값을 모두 반환하도록 변경하고...
채점 기준에 제네릭 메소드를 반드시 사용하라고 되어 있는데 아무리해도 되질 않아요ㅠㅠ 도와주세요!! import java.util.Scanner;...
import java.util.Scanner; public class MaxFirst { static final Scanner scanner = new Scanner(System.in); // 이 위치에 구현! 클래스, 메소드 만들기...
JAVA 문제인데요.. 위와 같은 조건으로 실행결과가 나오도록하는 코드 좀 알려주세요,, public class MyBox { private String s; public MyBox...
package generic; public class Generic { public static void main(String[] args) { Pair1<Integer> p1 = new Pair1<>(1, 2); Pair1<String> p2 = new Pair1<>("A", "B...
include <iostream> include <string> include <time.h> using namespace std; class Person { public: virtual void set() = 0; }; template <class T> class Player : public Person...
태그: 추상클래스, c쁠쁠, 프랜드, friend, 제네릭클래스, 제네릭, 템플릿클래스, 템플릿, 연산자오버로딩, 오버로딩
일단 인터넷을 보고 유니티로 디버깅을 찍어보았고요. using UnityEngine; using System.Collections; using System.Collections.Generic; // List, Dictionary using...
태그: Linq, 랜덤, Guid, NewGuid, OrderBy, 제네릭클래스, 딕셔너리, Dictionary, List