Java Java Data Structures Getting There Packages

idont know what to do

someone pleasse help

com/example/BlogPost.java
package com.Example.BlogPost;

public class BlogPost {

}
Display.java
import com.Display.BlogPost; 

public class Display {
  public static void main(String[] args) {
    // Your code here...
    BlogPost blogPost = new BlogPost();
    System.out.printf("This is a blog post: %s", 
                       blogPost);



  }
}

1 Answer

Raffael Dettling
Raffael Dettling
31,039 Points

You got Example instead of example and you dont need the java file BlogPost inside the package declaration. :)

package com.example;