PDA

View Full Version : Java Quizzes



  1. In Java source code can be executed by
  2. Where we can get all packages and variables from
  3. Pick up the primitive types from the following
  4. Which is correct regarding access modifiers
  5. In an interface....
  6. The Normal Priority Of a Thread is
  7. The main advantages of inheritance are
  8. Find out the correct statement from the following
  9. Which method is used to clear the buffer
  10. Which concept we don't have in Applets
  11. In Java The Class extension file is created after Successful Compilation Of the file
  12. How many types of variables we have in Java?
  13. The values of the elements of the Array can be changed by using array subscript
  14. A method which is accessible by all other class in a hierarchy is
  15. An abstract class must have at least
  16. The number of Threads access a monitor at a time are
  17. The methods which cannot be overridden are
  18. The correct statement from the following is
  19. The correct statement regarding I/O Filters is
  20. Which method returns a string describing the Applet, its author, copy right
  21. Java programs can be compiled by
  22. Assignment operator = is used to
  23. The variable which cannot change its value is called
  24. Which operator is used to access instance variables of any object with in a class
  25. The variable in an interface should be
  26. Priority of the Thread can be set by
  27. The methods in an interface are
  28. The correct statement is
  29. We can create a Reader object from an Input Stream object as
  30. The tags which are mandatory while creating html to display an Applet are
  31. What are the main OOPs principles
  32. The ternary operator is know as
  33. Define variable?
  34. The instance variables and methods of a class can be referenced by
  35. Concrete classes in an interface are
  36. Which method is used to terminate a Thread
  37. Which key word is used to invoke the constructor of the same class
  38. Find out the correct ones from the following statements
  39. The correct statements regarding Writer classes are
  40. Which method can be called when an Applet is first loaded
  41. Which interface provides the means by which an Applet and the browser communicate
  42. From the following statements Which we can perform using File class
  43. The File class encapsulates the files and directories of the local file system
  44. The types of Streams are
  45. The key word which is used to inherit a class is
  46. The ways to create Threads are
  47. The default access modifier of an interface is
  48. The class of an object can be determined by
  49. We can declare multidimensional Arrays in Java
  50. In Java file name should be same as class name
  51. The main() method in every Java program must be the return type of
  52. Variables can be declared any where in the method definition
  53. The variables which can be shared by all instances of a class are
  54. When will your program run garbage collector?
  55. Multiple inheritance in Java can be achieved using
  56. Which method is used to suspend a Thread fore a while
  57. Which key word is used to invoke the constructor of super class
  58. The Reader/Writer class hierarchy is character-oriented and the Input Stream/Output
  59. Which method is used to print error message
  60. Which method can be called when the browser is finished with an Applet
  61. Which method returns an array of string describing the applet's parameters
  62. The process of writing the state of an object to a byte stream is called
  63. The Object Input Stream class supports the reading of objects from input streams.
  64. The class which can be extended by all other classes is
  65. Java does not support
  66. The minimum priority of a Thread is
  67. Methods declared in Interfaces are
  68. The common features of C++ and Java
  69. Java automatically creates instances of String class when a string literal is used
  70. Compilation file in Java is
  71. Notepad Can be used to create Source code in Java
  72. Local variables are used as counters in blocks or temporary variables in methods
  73. Which operator is used to create single instance named class
  74. Key words in Java are
  75. An interface with out a method is called
  76. The priority of garbage collector Thread is
  77. The classes which allow primitive types to be accessed as objects are
  78. The File class is used to create objects that provide access to the files and directo
  79. The correct statements regarding File classes are
  80. How many interfaces does an Applet class contain
  81. which method can be called when an Applet is started
  82. Which of the following statements is true
  83. An object must implement the Serializable or Externalization interface before it can
  84. The interfaces defined by java.lang are
  85. Which key word is used not to access super class members
  86. The maximum priority of a Thread is
  87. polymorphism can be applicable in
  88. Dot notation is used to get instance variable value
  89. A collection of Characters is called as
  90. Class definition contains the Java program
  91. A Class and main() method declaration is important in every Java program
  92. An object that stores a list of items is called
  93. A larger value can be casted into a smaller by
  94. The modifiers used with top level classes are
  95. The types of multitasking are
  96. Allocating CPU time to individual threads in a priority schedule is called
  97. Which is not belongs to Wrapper class from the following
  98. The Random Access File class provides the methods needed to directly access data
  99. Which we can accept as correct from the following statements
  100. Java file and .html file of an Applet must be in the same directory