Husband. Father. Software engineer @MITREcorp. Lecturer. Helping you code. The opinions expressed in this blog are my own. #JavaScript #NodeJS #Java #Python
Nothing here yet.
Nov 28, 2021 · 11 min read · I have been a professional programmer for over 30 years. Programming is a lifelong journey of learning, practice, and improvement. During my career, I have found different ways to improve my programming skills. I often share tips on Twitter. Here are...
Join discussionNov 9, 2021 · 3 min read · Some Java programs need input from the user. To accept input from the user, use the Scanner class. The Scanner class has methods that accept different types of input. This tutorial describes string input. First, import the Scanner class at the top of...
Join discussionNov 9, 2021 · 2 min read · A string is a sequence of characters. Sometimes we need to access a character in the string. The Java String function charAt() returns the character at a given position in a string. Here is an example. First, we create a string in Java: String s = "T...
Join discussionNov 9, 2021 · 2 min read · Sometimes it is helpful to know if a character is a digit (0-9) or not. The Java built-in Character class provides an isDigit() function that determines if a character is a digit or not. Here is an example. First, here are two character values to tes...
Join discussion