EDIT:UPDATE: CASE CLOSED.
I got all the answers from an another source.
Thanks for your input anyways~
Below are sample T/F questions for my final exam. The only problem is that answers are not given. I wish I had time to go through books looking for answers but I'm pretty much out of time. I know $5 for these questions are lame but I thought it'd be better than nothing.
---------------------------------------------------------------------------------------------------
31. In order to use a predefined method, you simply need to know the name of the method.
32. The class JOptionPane is part of the package java.io.
33. The class DecimalFormat is part of the java.text package.
34. The statement System.exit(0); is found at the end of every working Java program.
35. Delimiters must be whitespace characters
36. The class JOptionPane allows a programmer to use graphical interface components to obtain input from a user.
37. Given Integer num; the value of num is directly stored in its memory space.
38. The default output of decimal numbers of the type float is 9 decimal places.
39. Given a decimal number, the method format of the class DecimalFormat returns the string containing the digits of the formatted number.
40. When writing output to a file, if the file is not closed at the end of the program, you will not be able to view your output properly.
41. If the output file does not exist you will get a FileNotFound exception.
42. If the specified output file does not exist, the computer prepares an empty file for output.
43. In the class String, the substring method extracts a string from within another string.
44. Java provides automatic garbage collection
45. The + operator is used to instantiate a class.
46. Primitive type variables directly store data into their memory space.
47. Primitive type variables directly store data into their memory space.
48. The class Math is contained in the java.text package.
49. Contents of the java.lang package do not need to be imported into a program in order to be used.
50. The . (dot) operator is also called the member access operator.
I got all the answers from an another source.
Thanks for your input anyways~
Below are sample T/F questions for my final exam. The only problem is that answers are not given. I wish I had time to go through books looking for answers but I'm pretty much out of time. I know $5 for these questions are lame but I thought it'd be better than nothing.
---------------------------------------------------------------------------------------------------
31. In order to use a predefined method, you simply need to know the name of the method.
32. The class JOptionPane is part of the package java.io.
33. The class DecimalFormat is part of the java.text package.
34. The statement System.exit(0); is found at the end of every working Java program.
35. Delimiters must be whitespace characters
36. The class JOptionPane allows a programmer to use graphical interface components to obtain input from a user.
37. Given Integer num; the value of num is directly stored in its memory space.
38. The default output of decimal numbers of the type float is 9 decimal places.
39. Given a decimal number, the method format of the class DecimalFormat returns the string containing the digits of the formatted number.
40. When writing output to a file, if the file is not closed at the end of the program, you will not be able to view your output properly.
41. If the output file does not exist you will get a FileNotFound exception.
42. If the specified output file does not exist, the computer prepares an empty file for output.
43. In the class String, the substring method extracts a string from within another string.
44. Java provides automatic garbage collection
45. The + operator is used to instantiate a class.
46. Primitive type variables directly store data into their memory space.
47. Primitive type variables directly store data into their memory space.
48. The class Math is contained in the java.text package.
49. Contents of the java.lang package do not need to be imported into a program in order to be used.
50. The . (dot) operator is also called the member access operator.