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

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

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

  Inventory management system in c# application

Inventory management system in c# application

  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.

  Prepare a marymount faculty site

Prepare a Marymount faculty site

  Blinky lights

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

  Prepare a web application

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

  Implementing the insurance management system

Implementing the Insurance Management System and implementation of Components as Web Services.

  Describe the characteristics of visual studio 2005

Describe the characteristics of Visual Studio 2005 Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in industries

  What is a connectionstring

What is a ConnectionString. Give a suitable example to illustrate the various part of a ConnectionString

  Prepare a web application for internet service provider

Prepare a Web application and write the code also event planning document base. This web application allows the user to sign up for an Internet service provider for home connectivity.

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