ProgScripting Languages

ProgScripting Languages

Please tell me its detail related to Java

Differentiate between yield () and sleep () methods.

  • 968 views
  • 2 answers
  • 1 votes

Hi

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

Regards.

  • 912 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++

  • 1252 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

  • 3951 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

  • 1581 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.

  • 989 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.

  • 13422 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

  • 1001 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…"); } }

  • 2215 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.

  • 868 views
  • 1 answers
  • 0 votes

Latest Articles

Free cloud mining is coming! RICH Miner launches mobile mining, everyone can earn cryptocurrencies

RICH Miner officially launches a new mobile cloud mining application, subverting the traditional mining model! No need to buy mining machines, no technical experience required, just a mobile phone, global users can start the...

Rokid Max 2 Review: I Tried AR Glasses So I Could Watch Netflix in...

I’m not a tech geek. I don’t keep up with every new gadget launch. I fly a few times a year, watch many movies on my phone, and live in a small apartment where...

Top 10 Technology Trends For 2025

With 2025 just around the corner, it is time to start thinking about what tech trends will be coming our way. Tech moves at a rapid pace. Some things may pop up next year...

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...