Which keywords in c# are not also keywords in java

Assignment Help DOT NET Programming
Reference no: EM13326572

1.Which keywords in C# are not also keywords in Java?

2. Indicate when each of the following bindings takes place in Java(language design time, language implementation time compile time, link time, load time, or run time). If more than one time is possible, choose the latest possible time.

a. Binding of an array to a specific length
b. Binding of the double type to specific number of bytes
c. Binding of a method call to a specific method
d. Binding of a method to a specific type
e. Binding of the = operator to a specific number of byte to be copied

3.The following grammar describes the syntax of C's floating-point constants. Write a single Perl pattern that matches the strings that can be derived from <float-constant>
<float-constant> ---> <fract-constant>[<exponent>][<float-suffix>]
| <digit-sequence><exponent>[<float-suffix>]

<fract-constant> ---> [<digit-sequence>] . <digit-sequence>
| <digit-sequence> .

<exponent> ---> e[<sign>]<digit-sequence>
| E[<sign>]<digit-sequence>

<sign> ---> +|-

<digit-sequence> ---> <digit> | <digit-sequence><digit>

<digit> ---> 0|1|2|3|4|5|6|7|8|9

<float-suffix> ---> f|l|F|L

4. The following questions refer to Java' enumeration types.

a. Is it legal to print a value of an enumeration type? If so, how is it displayed?
b.Is an enumeration constant allowed to appear in more than one enumeration type? If so, how does Java determine to which enumeration a constant belongs when it is used?
c. Can the values of an enumeration type be coerced to integers?
d. Can any other types be cored to an enumeration type?

5.What are the advantage of using a rectangular array in C#, as opposed to using an array whose elements are arrays?

6.Translate the following Ada declaration into C99, using designated initializers to make the code as short as possible:

A: array (0..999) of Integer : =
(0 => 4, 1=> 3, 998 => 9, 999=> 7, others =>0);
8. LET a BE THE FOLLOWING Ada array:
A: array (1..20, -2..10, 5..100) of Integer;

Assuming that the address of A is 1000 and that integers require four bytes of memory, determine the address of each of the following array elements.

a. A(5, 5, 5)
b. A(4, -1, 10)
c. A(10, 0, 50)

Reference no: EM13326572

Questions Cloud

Diameter how far away is the cluster : The Pleidas, a star cluster in the constellation of Taurus the bull, appears about one finger width big in the sky. If one assumes the cluster to be about 7 light years in diameter how far away is the cluster? Give answer in units of light years.
Called the categorical imperative : Immanuel Kant's principle, called the categorical imperative, requires that everyone be treated as:
The def corporation is incorporated in texas : The DEF Corporation is incorporated in Texas. It wishes to do business in Oklahoma. Before DEF can legally do businesses in Oklahoma, which of the following must it do?
Describes the alter-ego doctrine in corporate law : Which comment best describes the alter-ego doctrine in corporate law?
Which keywords in c# are not also keywords in java : What are the advantage of using a rectangular array in C#, as opposed to using an array whose elements are arrays?
Prepare a trial balance on april : Journalize the April transactions using a periodic inventory system and using T accounts, enter the beginning balances in the ledger accounts and post the April transactions.
What is the breaking strength in newtons of the string : A string under a tension of 49.0 N is used to whirl a rock in a horizontal circle of radius 2.40 m at a speed of 20.8 m/s on a frictionless surface, What is the breaking strength, in newtons, of the string
What will happen to respiration if add buffer to environment : What would happen to respiration if we add a buffer or base to the external environment of the bacteria (assume bacteria is in a closed environment like a tube) How would this affect the mechanism of respiration
Motion for summary judgment in a civil case : If a defendant files a motion for summary judgment in a civil case, what is the defendant saying?

Reviews

Write a Review

DOT NET Programming Questions & Answers

  Make interface for major and suitable classes for it

Using C#. make the interface for major and make suitable classes for each major. In student course instantiate IMajor major variable. In toString method call major.

  Write an app to simulate the rolling

With C#, write an app to simulate the rolling of two dice. The app should use an object of class random once to roll the first die and again to roll the second die. The sum of the two values should then be calculated. Each die can show an integer val..

  Create an application that displays total no of customers

Joe also performs other nonroutine services and charges for parts and labor ($20 per hour). Create an application that displays the total for a customer's visit to Joe's.

  Create a website to allow pizza shop employee to enter order

Create a website in asp.net to allow the pizza shop employee to enter customer orders. The size of the pizza cam be entered using a drop down list, and the quantity be entered using a text box.

  Each salesperson passes

Thus, each salesperson passes between 0 and 5 slips per day. Assume that the information from all of the slips from last month are available. Write an app that will read all the information for last months sales and summarize the total sales by sales..

  Create a console-based application named multiplication

a. Create a console-based application named Multiplication whose main() method asks the user to input and then calls a method named MultiplicationTable(), which displays the results of multiplying the integers by each of the number 2 through 10

  A company wants to see a printout

A company wants to see a printout of the gross payroll for each of its 7 departments. The output should be a list of the seven departments and the total gross payroll (rate times hours) for each department

  Write asp dot net script to enter two integers

Write down the ASP.NET script to enter two integers, gets numbers from user and outputs to label which displays larger number followed by words "is larger".

  Program that computes the amount of money the computer club

Write a program that computes the amount of money the computer club will receive from proceeds of their granola bar sales project. Allow the user to enter the number of cases sold and the sale price per bar. Each case contains 12 bars; each case is p..

  Design style elements in asp

Add drop down lists for modifying the different style elements for the label element that displays the time

  Create a program named taxcalculation

Create a program named TaxCalculation that includes tow overloaded methods-one that accepts a price and a tax rate expressed as doubles (for example, 79.95 and 0.06, where 0.06 represents 6%),

  Create a program that prompts the user for a name

Write a program that prompts the user for a name, Social Security number, hourly pay rate, and number of hours worked. Display the information that was input by the user.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd