Answer:it has high coupling
Explanation: Coupling is the property in the field of computer program that is defined as the functions ,data and codes of the program are dependent on each other and cannot be changed independently if requires. Thus,high amount of coupling is not considered as good factor due to high interdependence. Loose coupling can be still permitted.
Other options are correct because name of the class should reflect the purpose and well defined responsibilities should be present, modeling of certain component and high cohesion means keeping similar functions togather is also required. So, the only bad factor is high coupling
There are no options.
It would, however, look larger.
Answer:
Option (4) is the correct answer.
Explanation:
In Java programming language ,array collection starts from 0 index location and ends in a size-1 index location. So to access the last elements the user needs to use a[Size-1] statement. so to modify the value of the last location of the array the user needs to use "a[size-1]= element;".
But when the user wants to add some new value to the end of the array list collection then he needs to use the statement--
a.add(element); //where add is a function, element is a value and a is a array list object.
Another option is invalid because--
- Option 1 is not the correct because "a[3]=element;" modify the value of the 3rd element of the array.
- Option 2 gives a compile-time error because add functions bracts are not closed.
- Option 3 gives the error because a[4] gives the location of the 5th element of the array but the above question says that a is defined with 4 elements.
Answer:
The correct answer for the given question is "Machine languages can be used to write programs that can run on any machine."
Explanation:
The machine language consist of binary digit i. e 0 and 1 .Computer can understand only the machine language .The machine language consist of code that is written in bits so it is used to express algorithms.When any program is compiled the compiler are converted into machine code so the machine language is produced by the compiler .
Machine language cannot used to write a program that run on any machine.
True because they are educational anything .com and sometimes .net because .gov is from the government so it is very safe to use and .edu is for education it is always used to help people with education etc and .org is public which other people can say false and save you from false information