Java Java Data Structures Getting There Packages

please help guys!

help!

com/example/BlogPost.java
package com.example;
public class  BlogPost {
};
Display.java
import com.example.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");
  }
}  

1 Answer

Daniel Vargas
Daniel Vargas
29,181 Points

You have everything right, just remember to add the parameter you want to replace in your placeholder(%s):

import com.example.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);
  }
}