Compare ada and java in given regard

Assignment Help JAVA Programming
Reference no: EM132085646

One important difference between languages that provide syntax to encapsulate the definition of user defined data types is whether the syntax requires the specification details to be separated from the implementation details. Ada requires such a separation.

In Ada, the specification information must be placed in the package specification and the implementation details in the package body.

Where must the representation details be placed?

Compare Ada with both C++ and Java in this regard.

Take and defend a position as to whether requiring separation of the specification and representation information for a data type is a good language design decision.

Reference no: EM132085646

Questions Cloud

Genre for modern chinese literature : Why are "Diary of a Mad Man" and "The Man of La Mancha" an especially important genre for modern Chinese literature?
Write a function that returns a string reversed : Write a function that returns a String reversed. That is, if the word is program, then the function will return margorp.
Calculate the key and compare the value : Calculate the key and compare the value to _KEY . If the two match, the user (most likely) entered the correct password, otherwise he loses one chance.
What is the coefficient of linear expansion : He notices that at this new temperature, the bar's length has increased by 1.422 × 10^-3 m. What is the coefficient of linear expansion (a) for the new alloy?
Compare ada and java in given regard : Where must the representation details be placed? Compare Ada with both C++ and Java in this regard.
What is the rms speed of the dust particles : Dust grains of diameter 0.24 µm and density 1000 kg/m3 are in equilibrium with air (A = 28.9) at a temperature of 270 K . What is the rms speed of the dust part
Write a test bench to simulate the given operation : Using Xilinx ISE, write and simulate a VHDL/Verilog description to correctly command the lights according to the occupancy of the parking lot.
How can this mode be used to perform memory : Discuss any advantage or disadvantage of using this method instead of using the CPU to perform memory to memory copy.
What is the volume of water required to store energy : One cubic foot of water can store 312 Btu of thermal energy. On a cold winter day a well-constructed home may require 100,000 Btu of nighttime space heating.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Demonstrate in the program how two threads can

Demonstrate in the program how two threads can, sometimes, invoke atomic() concurrently. Create a second version of the program in which the two threads cannot invoke atomic concurrently.

  Write a while loop that lets the user enter a number

1) Write a while loop that lets the user enter a number. The number should then be multiplied by 10, and stored in a variable called product. The loop should then iterate as long as product contains a value less than 100.

  Square with a rectangle of the same size

Write a Java statement to initialize a variable square with a rectangle object whose top left corner is (10, 20) and whose sides all have length 40. Then write a statement that replaces square with a rectangle of the same size and top left corner ..

  Lists the number of appointments

Create a query that lists the number of appointments for each doctor by day. Display the number of appointments, the doctor ID, and the appointment date. Display the output in order of doctor ID with the lowest doctor ID first.

  You will need a bottomuptwothreefourtree class with a

you will need a bottomuptwothreefourtree class with a bottomuptwothreetreefourtree constructor which takes no

  Create a drop box list for the applications applet

Create a Drop box List for the application's applet to include - Beginning locations and A field for approximate miles

  Write an application that enables users to enter student ID

Write an application that enables users to enter student ID and three exam scores. Provide a method to compute and returnthe overall exam average.  Provide another method that prints all scores and the average value formatted with no digits to the ri..

  Java program to store temperatures in two-dimensional array

Write the Java program which uses two-dimensional array to store highest and lowest temperatures for each month of the year. Program must output average high,average low,

  Implement a recursive method that evaluates the gcd

Implement a recursive method that evaluates the GCD of the given numbers - Use the above fact to create a recursive method in Java that computes and returns the gcd of two positive integers. Comment the code.

  Use javascript to write the onmouseenter event handler

Use JavaScript to write the onmouseenter event handler for the mouse enter event of the img tags (similar to the onclick event handler of the img tags in the ImageSwap/SlideShow applications). This handler should change the src attribute of the im..

  Create a java application that stores employee details

SD2720: Module Using Operators, Arrays, and Constructs Lab. Create a Java application that stores and maintains the employee details, including employee ID, employee name, department, designation, marital status, and date of marriage, in a multidim..

  How do you arrange passenger on flight sits

Millions of commercial airline flights cross the world's cities every year, and each one of these flights must solve what seems like a simple problem: how do you arrange where each passenger on one of those flights sits

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