
LANGUAGE: Java CHALLENGE: Design and implement an application that reads a string from the user and prints it one character per line.
Read MoreLANGUAGE: Java CHALLENGE: Design and implement an application that reads a string from the user and prints it one character per line.
Read MoreLANGUAGE: Java CHALLENGE: Design and implement a class called Box that contains instance data that represents the height, width, and depth of the box. These dimensions should be of a type that can represent linear measurements, including fractional ones. Also include a boolean variable called full as instance data that represents whether the box is […]
Read MoreLANGUAGE: Java CHALLENGE: Design and implement a class called Car that contains instance data that represents the make, model, and year of the car (as a String, String and int value respectively). Define the Car constructor to initialize these values (in that order). Include getter and setter methods for all instance data, and a toString […]
Read MoreLANGUAGE: Java CHALLENGE: Design and implement a class called Sphere that contains instance data that represents the sphere’s diameter. Define the Sphere constructor to accept and initialize the diameter, and include getter and setter methods for the diameter. Include methods calcVolume and calcSurfaceArea that calculate and return the volume and surface area of the sphere. […]
Read MoreLANGUAGE: Java CHALLENGE: Assume that an array named salarySteps whose elements are of type int and that has exactly five elements has already been declared. Write a single statement to assign the value 30000 to the first element of this array.
Read MoreLANGUAGE: Java CHALLENGE: Given Suppose the values of the array a BEFORE your code executed were: 15,7,22,4. Then, AFTER your code executed, the values of the array a would be: 3,7,22,4. Note that the value of the first element was changed to 3. that an array named a with elements of typeint has been declared, […]
Read MoreLANGUAGE: Java CHALLENGE: Write a method, getSecondLine, that is passed a String argument and that returns the second line, without its newline character. (Recall that lines are terminated with the “\n” character .) Assume that the argument contains at least two complete, newline-terminated lines.
Read MoreLANGUAGE: Java CHALLENGE: Write a method, getFirstLine, that is passed a String argument and that returns the first line. (Recall that lines are terminated with the “\n” character.) Assume that the argument contains at least one complete, newline-terminated line.
Read MoreLANGUAGE: Java CHALLENGE: Write a method, makeEmailAddress, that is passed two String arguments: the first is a username, like “leadbelly” and the second is a domain name, like “blues.com”. The method returns an email address formed from joining these with an “@”: “leadbelly@blues.com”.
Read MoreLANGUAGE: Java CHALLENGE: Write a method, getEmailDomain, that is passed a String argument that is an email address and returns the domain name part. So if “mozart@salzberg.de” is passed, the method returns “salzberg.de”. Assume that the argument will always be a correctly formatted email address.
Read MoreLANGUAGE: Java CHALLENGE: Write a method, getEmailUserName, that is passed a String argument that is an email address and returns the user-name part. So if “mozart@salzberg.de” is passed, the method returns “mozart”. Assume that the argument will always be a correctly formatted email address.
Read MoreLANGUAGE: Java CHALLENGE: Write a method, makeSubjectLine, that gets a String argument and returns the same String but with “Subject: ” in front of it. So if the argument is “Are you going to the show?” the method returns “Subject: Are you going to the show?”.
Read MoreHave you heard the news? Matthew Maennche is hosting his Social Media 101 seminar tomorrow! We sure hope you can jo… https://t.co/UJmBN2tMp3 Tweet URL
By simply having access to someone who actually understands how digital marketing works, businesses can leverage th… https://t.co/HTF7wcsowP Tweet URL
Maennche Virtual CMO is a family owned and operated entity. After spending years in the trenches developing busines… https://t.co/t0oedhI7B9 Tweet URL
Matthew Maennche, of myVCMO, will help you cover tactics to make you market your small business even on a shoestrin… https://t.co/n5oVXMYbYn Tweet URL
If you couldn't make it yesterday afternoon you missed a great class! If you made it or not, I sure hope to see you… https://t.co/xp7hDlo5hZ Tweet URL