Home

Which of the following are not keywords?

A. NULL

B. Implements

C. Protected

D. None of the above

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  2. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  3. When present, package must be the first no comment statement in the file.
  4. A final class may not have any abstract method.
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. What is java -g used for?
  7. To delete a file, we can use an instance of class file.
  8. Which key word can protect a class in package from accessibility by the classes outside the package?
  9. We would like to make a member of a class visible in all subclasses regardless of what package they…
  10. Consider the following class definitions: class maths { student student1; } class student { String name;…
  11. The name of a Java program file must match the name of the class with the extension Java.
  12. Which of the following methods can be used to draw the outline of a square?
  13. An individual array element that is passed to a method and modified in that method will contain the…
  14. The programmer must explicitly create the system .in and system .out objects.
  15. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  16. Which of the following statements are true?
  17. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  18. Which of the following are the wrapper classes?
  19. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  20. Declarations can appear anywhere in the body of a Java method.
  21. The length of a string object 's1' can be obtained using the expression s1.length.
  22. JSP files creates ________________
  23. The use of protected keyword to a member in a class will restrict its visibility as follows:
  24. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  25. Connection, Statement are interfaces and ResultSet is a class.
  26. Give file is a file object, which of the following are legal statements to create a new file.
  27. When the string objects are compared with ==, the result is true If the strings contain the same values.
  28. Which javadoc tag is used to denote a comment for methods parameters?
  29. putValue(...) method takes _____________________-
  30. What does the following line of code do?TextField text=new TextField(10);