Use of ‘this’ in a class – Java #58

*Watch copying and pasting the quotation marks, you may have to retype them to avoid an error Using 'this' inside of class makes naming variables easier and your code easier to read class containing this screenshot: -------------beginning of source code of class containing this------------ package dagbaComputers; public class SampleClass { private String custName;//string that will... Continue Reading →

Python #7: How to convert user input to uppercase and/or lowercase

#Programmer: Akinwale Owi #Company: Dagba Computers #Program Purpose:Convert user input to uppercase and lowercase #Start of Program #prompting user for input normalInput=input('please enter a string') #printing to test before conversion to uppercase print("User input before change = " +normalInput) #space print("") #converting to upperCase print("All uppercase = " + normalInput.upper()) #space print("") #converting to lowercase... Continue Reading →

Blog at WordPress.com.

Up ↑