Why I get “cannot find symbol: method toUnmodifiableList()” runtime error?

后端 未结 0 1974
北恋
北恋 2021-02-01 22:50

I want to create an unmodifiable list but I get the following error. Current JDK that I\'m using is 11.

package com.example.demo;


import java.util.List;
import          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题