-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Dear All,
I wrote the following code and ended up with below mentioned error:**
Please suggest some solution.
import java.io.*;
import java.util.Collections;
import java.util.List;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.Timer;
public class Bin_search
{
public static void main(String args[])
{
Bin_search b=new Bin_search();
System.out.println("Enter the String");
Scanner input=new Scanner(System.in);
String msg=input.nextLine();
System.out.println(msg);
Message messageObject=new Message();
Time timeObject=new Time();
messageObject.simpleMessage(message);
timeObject.getTime();
System.out.println(msg + time);
}
}
Error:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Message cannot be resolved to a type
Message cannot be resolved to a type
Time cannot be resolved to a type
Time cannot be resolved to a type
message cannot be resolved to a variable
time cannot be resolved to a variable
goxr3plusgoxr3plusgoxr3plus
Metadata
Metadata
Assignees
Labels
No labels