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
// I have imported 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.