Computer Applications
Related Questions
Explain data input technique in a program using the Scanner class.
What are errors in a program?
Suppose you want to use the class MyClass of the package MyPackage.UtilityLibrary in a program you are writing. What do you need to do to make the following?
i. class MyClass available to your program
ii. all the classes of the package available to your program
Explain the following terms, giving an example of each.
i. Syntax error
ii. Runtime error
iii. Logical error