Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Write a program in which the main method calls a method with the heading public static char changeCase(char ch) that if ch is a lowercase letter
Access the monster.java program. Compile and run the program. There are ten lines of code marked (1)..(10) that you must explain after analyzing the code
You have already written the code for the four loop problems which you will now combine into one program with four distinct methods.
The user will first enter a number between 1-10 OR letters between A-K (uppercase) and your program will generate a random number
Implement the four classes: class DataItem; partially implemented abstract base class of hierarchy; defines data members for common data elements;
What are the major differences between Java programming language and any other language? List and discuss three items.
Encrypt and decrypt the message using the Caesar cipher with (K=3) in Java.
Uses a while loop to count down every odd number from 40 to 0, printing each off number down to zero, except the number 3 and 33.
Write code to initialize myary1 beginning with myary1[0][0] = 1 and adding one for each subsequent array location. myary1 has 3 columsn and 4 rows.
Change code in Java program so that input of floating point values is possible.
Compare code of 2 similar Java programs and explain differences.
Develop a Java program which, given the width, length and depth (in metres), of a swimming pool, determines and outputs: (a) the volume in litres
Write a Java class that contains 4 instance methods that output information related to your education background, work experience, hobbies and skills
Describe the difference between object-oriented programming and procedural (or structural or processual) programming.
Use Cybrary to research at least one programming language and its characteristics. Find out if it is procedural, object-oriented, or a hybrid.
X3D is currently replacing VRML as the nearest the internet gets to Virtual Reality currently. Is X3D suited specifically to certain applications over others?
Identify how you can encapsulate the data and processes you identified into an object-oriented design.
Modify the Inventory Program to use a GUI. The GUI should display the information one product at a time, including the item number, the name of the product
Write an Java Applet that displays the 13 standard colors available in Java back, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red
Create a Java application that displays the product number, the name of the product, the number of units in stock, the price of each unit, and the value
Convert the program to this text to allow the program to print out each word of the input sentence to a separate line of a file called words.txt
Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked.
Implement a class called ShortAddress that has the following attributes: firstName, secondName, and phoneNumber
Create a program that computes the annual road tax (vehicle excise duty) charges for three types of vehicles: vans, cars and motorcycles.