Hello, tech people,
I'm newly appeared at the software stage and I don't know more than I know. So, please bare with me and give me some clear guidelines.
I'm trying to code some simple solution of one of my first tasks in Java and I can't find my mistake here. The main reason for writing this code is that I want to print my names with the count of its letters.
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
String meFirstName = "Smarty";
String meLastName = "Trousers";
String meFullName = meFirstName + " " + meLastName;
int letters = meFullName.length();
System.out.println("My fullname is " + meFullname + ".");
System.out.println("My name has" + " " + letters + " " + "letters.");
}
}
Thank you!