Skip to content

why this error come from cmd #71

@malithaofficail

Description

@malithaofficail

sublime

public class helloWorld{

public static void main(string[] args){
	system.out.println("hello world! It's me malitha!");

  

}

}

cmd ,

C:\Users\user\Desktop\linkedin\java\java>javac helloWorld.java
helloWorld.java:3: error: cannot find symbol
public static void main(string[] args){
^
symbol: class string
location: class helloWorld
helloWorld.java:4: error: package system does not exist
system.out.println("hello world! It's me malitha!");
^
2 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions