Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Perform the following operations on file using menu-driven application,

• Opening a existing file

• Creating a new file

• Renaming a file

• Deleting a file

• Creating a directory

• Finding the absolute path of a file

• Get the file names of a directory


Write a Java program to perform the following operations on file using menu-driven application,

• Opening a existing file

• Creating a new file

• Renaming a file

• Deleting a file

• Creating a directory

• Finding the absolute path of a file

• Get the file names of a directory

Java Class that returns the sum of two integers, write a JSP code that uses a page directives to call this Java Class


Write a program that prompts the user to input the shape type such as circle,

rectangle, and rectangular prism and the appropriate dimension of the shape. The

program then outputs the following information about the shape: For a circle, it outputs

the area and circumference; for rectangle, outputs the perimeter and area, and for a

rectangular prism, outputs the volume and surface area.
Write a program that prompts the user to input the shape type such as circle,

rectangle, and rectangular prism and the appropriate dimension of the shape. The

program then outputs the following information about the shape: For a circle, it outputs

the area and circumference; for rectangle, outputs the perimeter and area, and for a

rectangular prism, outputs the volume and surface area.

Create a subclass called TicketSales that extends the Tickets class. The TicketSales class must contain a constructor to accept the customer name, movie title, customer age and price of the movie as parameters. Write code for the print_tickets method which displays the customer name, movie title, movie price, discount and final cost due. A discount of 10% is applied if the customer’s age is greater than or equal to 65. If the customer is under 65 years old, no discount is given. Finally, write a Movie_Tickets class to instantiate the TicketSales class. Sample output is shown below and you may use the same values to test your application


Create a base class called "Animal" which has two (2) class fields. The first field holds an integer "IDtag" for a number that a zoo uses to catalogue their animals and the second field holds a string called "species."

From the Animal class, derive two (2) classes. One is called "Bird" and the other "Reptile". E.g. Species could be (for the Bird class) ostrich, dove, chicken etc. and (for the Reptile class) lizard, snake, bearded dragon etc.

The Bird class has an additional class field called "colour" which holds the colour of the birds. feathers * (int - 1 = gre) , 2-white, 3=black) . The reptile class has an additional class field called "bloodTemp" which hold the reptile's temperature of their blood (double).

You need to instantiate two (2) objects. The bird object will be called "brd" and the reptile object

called "rept."

Input values for the bird's IDtag, species and feather colour (int) and for the reptile's IDtag number, species and bloodTemp.

1. Network configurations

1. Receive internet access from the WAN

2. Provide internet access to devices connecting to AP that is connected to the ubuntu

server

3. Block/Allow IP/MAC address

2. Configurations can be altered/configured programmatically

1. SSID of the external AP

2. Can be password protected or Open Security

3. Network interfaces so we can choose what will be the LAN and the WAN

4. Set DHCP configuration for the clients that will be connecting to the LAN (ex. IP pool

range)


Sample Run 3 

Welcome to CS126 Mart! 

Item Codes 

  Description Price 

100 Sweet ‘n Ripe Grapes  125.35 

101 Crunchy Apples        52.20 

109 Green Peas  25.75 

 

Enter Code: 101 

  Crunchy Apples              52.20 

      Quantity  1     Total Amount Due:  52.20 

  Cash:        50.00  

Insufficient Cash

Sample Run 4 will be

Enter Code: 101 and will buy Crunchy apples (1 quantity) and will pay (Cash: 1000) and the change will be 947.80 and the program will say "Take care!" at the end

Item codes: 100 & 101 & 109

100 - Sweet 'n Ripe Grapes (Price) - 125.35

101 - Crunchy apples (Price) - 52.20

109 - Green Peas (Price) - 25.75


I need 4 sample runs in total here are the sample runs I need 

Sample Run 1 

Welcome to CS126 Mart! 

 

Item Codes 

  Description Price 

100 Sweet ‘n Ripe Grapes  125.35 

101 Crunchy Apples        52.20 

… … … 

109 Green Peas  25.75 

 

Enter Code: 128 

  Invalid code.

Sample Run 2 

Welcome to CS126 Mart! 

 

Item Codes Description Price 


100 Sweet ‘n Ripe Grapes  125.35 

101 Crunchy Apples        52.20 

… … … 

109 Green Peas  25.75   

Enter Code: 100 

  Sweet ‘n Ripe Grapes  125.35 

      Quantity  -3 

Invalid code.

LATEST TUTORIALS
APPROVED BY CLIENTS