“cannot find symbol - class Scanner” error

前端 未结 7 1590
醉话见心
醉话见心 2020-12-18 00:04

This is my Code

public class Workshop3
{
    public static void main (String [] args)
    {
        System.out.println (\"please enter radius of circle\");
          


        
7条回答
  •  伪装坚强ぢ
    2020-12-18 00:23

    You can resolve this error by importing the java.util.* package - you can do this by adding following line of code to top of your program (with your other import statements):

    import java.util.*;
    

提交回复
热议问题