Java | JSP | JSF Answers

Questions answered by Experts: 3 611

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

Write a program that show working of different functions of String and

StringBuffer classs like setCharAt(), setLength(), append(), insert(), concat()and

equals().


Write a program ―DivideByZeroǁ that takes two numbers a and b as input,

computes a/b, and invokes Arithmetic Exception to generate a message when the

denominator is zero.


Write a program that creates illustrates different levels of protection in

classes/subclasses belonging to same package or different packages.


Write a program to show the use of try statements that emphasizes the sequence 

of checking for catch handler statements.


Write a java class to represents triangle. The triangle has two private data member which are base and height. Public methods are: setBase, setHeight, getBase, getHeight, getArea and getCirconference. Then create an object of type triangle in your main and call its methods


Extreme IT Products is a local supplier that specialises in the sales of the latest Information Technology hardware devices. The business has recently opened an outlet in the town you reside and has hired the software development house you work for to design a Java application to manage their products.

Your line manager has requested you to develop the application with the following requirements:

When the application starts, it must display the following menu structure:

Sample Menu Screenshot

BRIGHT FUTURE TECHNOLOGIES APPLICATION

Enter

(1) to launch menu

or any

other key to exit

Q.1.1

Please select one of the following menu items:

(1) Capture a new product.

(2) Search for a product.

(3) Update a product.

(4) Delete a product.

(6) Print report.

(6) Exit Application

Write a function that take an array of number as input parameters and print the member that have remember of 4 when divided by 5


Different types of Java platforms and their use


Wedding game

In a wedding that you are attending, there are some chairs that have digits inscribed at their
backs. The chairs are lined in a row such that they form a string of the digits. Find the
minimum number of sets M that can be formed from these digits such that:
1. The number of digits in each set is one gf more than one.
2. Each set is formed using consecutive digits and no digit can be used more than once.
3. In each set, the number formed using the digits is less than or equal to Y.​
Addition number

Victor has an array of size n. He loves to play with these n numbers. Each time he plays
with them, he picks up any two consecutive numbers and adds them. On adding both the
numbers, it costs him k*(sum of both numbers).
Find the minimum cost of adding all the numbers in the array.
Input Specification:
input1: Size of array.
input2: Elements of the array.
input3: Value of k.
Output Specification:
Return the minimum cost of adding all the numbers of the array.
LATEST TUTORIALS
APPROVED BY CLIENTS