2.2. Name and Initials - Java - ❤️ SOLUTIONS MOVED TO DISCORD ❤️

Veröffentlicht am: 21 Februar 2016
auf dem Kanal: Kakra Detome
45,521
167

❤️ SOLUTIONS ON DISCORD Join my Discord server -   / discord  

Hello everyone, unfortunately Pearson, the publisher, is making it difficult to post the programming challenges because they're calling it a copyright infringement to use their questions on video even though I'm 100% using my solutions. Because of this, I'll be helping you by providing you with the complete solutions (with extensive comments) of the programming challenges (Python, Java etc) for a fee. If you need help, message me on Discord for a breakdown of each of the chapter questions and their cost.

❤️ Need help with code? Join my Discord server -   / discord  

❤️ Other playlists

Programming challenges - Starting out with Python,    • Programming challenges - Starting out...  

Programming challenges - Starting out with Java,    • Programming challenges - Starting out...  

Learn Python,    • Learn Python  

Learn Java,    • Learn Java  

Learn PHP,    • Learn PHP  

Learn Unix,    • Learn Unix  

Learn Git,    • Learn Git  

Website of the Day,    • Website of the Day  

Tech how tos -    • Tech How Tos  

❤️ Need help with code? Join my Discord server (Paid programming challenges solutions, programming classes and more)   / discord  

Hello Everyone, hope you're all doing well. In the first System.out.println statement, I don't necessarily need the empty double quotes( "" ) before the middleName variable because I don't necessarily have a middle name. If you don't have a middle name, you can remove it as you don't necessarily need it, but leaving it there won't affect your code. If you have a middle name however, you'll need a space between the two double quotes before the middlename to separate your first name and your middle name.

If you don't have a middle name and you remove the two double quotes before the middleName variable, this is how your code will look like,

System.out.println( "Full Name: " + firstName + middleName + " " + lastName );

If you have a middle name, use the code in the video but just make sure you have a space between the double quotes in between the firstName and middleName variables in the first System.out.println statement.

Take care Everyone! :)

Starting out with Java: From control structures through objects
Chapter 2
Programming Challenges

2. Name and initials

Write a program that has the following String variables: firstName, middleName, and lastName. Initialize these with your first, middle, and last names. The program should also have the following char variables: firstInitial, middleInitial, and lastInitial. Store your first, middle, and last initials in these variables. The program should display the contents of these variables on the screen.

Thanks 😊


Auf dieser Seite können Sie das Online-Video 2.2. Name and Initials - Java - ❤️ SOLUTIONS MOVED TO DISCORD ❤️ mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Kakra Detome 21 Februar 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 45,521 Mal angesehen und es wurde von 167 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!