ProgScripting Languages

ProgScripting Languages

Please tell me its detail related to Java

Differentiate between yield () and sleep () methods.

  • 962 views
  • 2 answers
  • 1 votes

Hi

Differentiate between Unchecked & Checked Exceptions in Java. Please tell me its complete detail

Regards.

  • 909 views
  • 3 answers
  • 0 votes

You will present a comparison of java with C++.

In this comparison you will present the advantages of java over C++ and any draw back of Java against C++

  • 1250 views
  • 1 answers
  • 0 votes

Problem Statement: 
Printing Electricity Bill Detailed Description

Write a C++ program in which you have to:

  1. Create a text file “Electricity_Bill”.
  2. Write the following data in it:

Electricity Consumer Bill:

Reference No Tariff Load Old A/C No
123456789123456 2 1 123456789123456

Name and Address

XYZ Lahore Pakistan

  • 3950 views
  • 1 answers
  • 1 votes

Need help with a program calculate the area and circumference of the circle by declaring a class

thanks in advance

  • 1580 views
  • 2 answers
  • 0 votes

You are required to write a program which takes two 3×3 matrix A and B containing 09 elements each and sort all these 18 elements in descending order and put it in one dimensional array and then display it.

Follow the following steps to code this program

1.  Take two two-dimensional arrays as A[3][3]and B[3][3] and one-dimensional array C[] to keep the result.

2.  Prompt the user to enter the elements of first matrix.

3.  Prompt the user to enter the elements of second matrix.

  • 988 views
  • 1 answers
  • 0 votes

You are required to write a program for RENT A CAR SYSTEM. The basic idea is that user will provide customer information, Car Model, and number of days. Upon this information your program will calculate the Amount for the Car.

Rent Amount will be calculated on the Basis of Type of Model he / she is going to take on Rent and of Days on Rent. There are Types of Models available “2009”, “2010” and “2011”. For Model 2009 Minimum Rent per day is Rs. 5000/- for Model “2010” Amount is Rs. 8000/- and for “2011” Amount is Rs. 10,000/- Per Day.

Detailed Description:

1. The program should display

Please provide customer Name:

Please provide Car Model.

  • 13420 views
  • 2 answers
  • 0 votes

Write a program, which should prompt the user to enter a digit from 0 to 9
and store the input in some variable.
Now, prompt the user to enter another digit in given range.
You have to find the range of the next given number such that the sum of user-given numbers should not exceed 9.
Example:
Enter a number from  0 to 9: 5
Enter a number from  0  to 4: 3
Sum is: 8

  • 999 views
  • 2 answers
  • 1 votes

The code given below is a Java code.

Find out that after the execution of the code the exception "array index out of bound" has occurred or not?

Also identify the mistakes in the program if any? And then write the correct program. ————————————————————— public class Excep { public static void main(String [] arr) { try { try { int array[]=new int[20]; array[100]=5; } finally { System.out.println("In Finally BLock.."); } System.out.println("Outside Finally Block.."); } catch(ArrayIndexOutOfBoundsException EX) { System.out.println("In Catch Block…"); } System.out.println("Exiting…"); } }

  • 2212 views
  • 3 answers
  • 0 votes

If a disk is divided into four partitions and there are four logical drives present in the computer and every partition has been assigned one logical drive, write the steps involved in calculating the LBA address of the third partition table.

  • 866 views
  • 1 answers
  • 0 votes

Latest Articles

Benefits Of Storing And Sharing Documents In The Cloud

Have you ever wished you could access your important documents anytime, anywhere? With cloud document storage, that wish becomes a reality. In today’s fast-paced world, secure and accessible document management is more essential than...

From Lost To Found: Restore Your Data On Windows 11

Are you worried about data you lost during some operation on your Windows 11? Don’t worry; we are here to guide you on how to recover the lost data from your Windows device in...

How To Differentiate Demand Generation From Lead Generation

Lead generation and demand generation are two of the business strategies that help businesses grow. It creates a pipeline of interested customers looking to find out more. Lead generation on the contrary, is able...

Latest Blogs

Top 10 New Laptop Entrants That Shook The Public

The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...

10 Facts About The Dark Web

Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...

Top 10 Latest Steam Cleaner Machines

While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...

Latest Tips

Top 10 Internet Monitoring Software

Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...

Top 10 Best Partition Manager Software

A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software. 1....

Top 10 Best Online Music Production Software

Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...