Java Java Basics Getting Started with Java IO

I don't know why is there a problem with the period in (console.printf)

can you please help me in my last assignment .thanks in advance

IO.java
// I have imported java.io.Console for you.  It is a variable called console.
String firstName= console.readLine("whats your name");
String lastName= console.readLine("shalaby");
console.Printf= ("lastName, First name: %s");
Botan Mustafa
Botan Mustafa
4,222 Points

The ā€˜Cā€™ from console should be capital.