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

  Using .net resources to teach .net

This project will use the .NET framework to produce a set of materials to demonstrate the fundamental principles of .NET. Ideally it should demonstrate some of the principles of the framework e.g. interoperability.

  Blinky lights

Analysis proving that your code blinks the LEDs at the specified rates.

  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.

  Best way to code radio buttons that when

What is the best way to code radio buttons that when you check a checkbox, the radio buttons become active and add a cost to the Labor Price. I already have the buttons enabled when you select muffler, I can't figure out how to code the radio butt..

  Create a shopping cart in asp

The users will use a browser to access the on-line store. The web server software for the production web server is Windows 2003 Server /IIS6.

  Prepare a web application

Prepare a web application that will be used to keep track of patients registering in a hospital.

  Add insert and edit menu options

Add Insert and Edit menu options - Insert will allow the user to insert a new account in a position of his choice

  How linear structures-particularly arrays-are implemented

Project at work calls for storage of computer maintenance schedule information. Using C# as source language, investigate how linear structures-particularly arrays-are implemented.

  Create a windows form application

Create a Windows Form application that Reads a list of products from an xml file and shows a form that a customer can order

  Design and use computer package incorporating the techniques

Java source files for your controller. Note that your controller must use fuzzy rules to earn these marks, and it must be different from the example FuzzyController.

  Several valid and invalis invoice objects

Create a program that attempts to create several valid and invalis invoice objects. Immediately after each instantiation attempt handle any thrown exceptions by displaying an error message.

  Prepare a marymount faculty site

Prepare a Marymount faculty site

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