Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

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

How to create a program that will accept five numbers and determine the prime numbers only using netbeans and JOptionPane
Compare String values
Write a program that reads two strings from the keyboard and compares them and prints whether they are equal or not.
Create a class Count with a data member current_count with proper access specifier. Create another tester class (which has main method) to instantiate two counters of Count class.
In the Count class create 2 constructors: default and parameterized constructors.
In Count class create accessors for the current_count data member
Given a square maze (A) of dimension N, every entry (Aij) in the maze is either an open cell 'O' or a wall 'X'. A rat can travel to its adjacent locations (left, right, top and bottom), but to reach a cell, it must be open. Given the locations of R rats, can you find out whether all the rats can reach others or not?
Input Format:

Input will consist of three parts, viz.

1. Size of the maze (N)
2. The maze itself (A = N * N)
3. Number of rats (R)
4. Location of R rats (Xi, Yi)

Note:
(Xi,Yi) will represents the location of the i-th rat.
Locations are 1-index based.

Output Format:

Print "Yes" if the rats can reach each other, else print "No"

Constraints:
1<=N<=350

Aij = {'O','X'}

1<=R<=N*N

1<=Xi<=N

1<=Yi<=N
Write a programme to create a webpage that prints the name of the STUDENT
database in Wide Latin font and set the subtitle with description of the STUDENT to
the screen. Set the page layout to the webpage. Insert one image after the database
with a Thank you note.
Write a Java program to establish a connection to the MyCustomers database using
the JDBC driver to retrieve the entire Customers and Orders table. Use the Swing
component TextArea to display the data and your interface must use either menu
items or command buttons to trigger the actions for retrieving the data.
A handyman company has decided to specialize in two tasks: painting and carpeting rooms. Write a Java application to determine the cost of a room to be painted or carpeted. One gallon of paint and eight hours of labor are required for every 12.7 square yards of space that needs to be painted. One hour of labor is required for every five square yards of carpet to be laid. The charge for labor is $18.00 per hour
Use Java code to convert the command line arguments to an array of integers.
Use Java code to write a function that converts an array of Strings to an array of integers.
Example:
arr = {“40”, ”50“, ”70”}
to arr = {40,50,70}.
Write a Java statement to initialize a variable square with a rectangle object whose top left corner is (10, 20) and whose sides all have length 40. Then write a statement that replaces square with a rectangle of the same size and top left corner (20, 20).
LATEST TUTORIALS
APPROVED BY CLIENTS