Home

An individual array element that is passed to a method and modified in that method will contain the modified value when the called method completes execution.

A. True

B. False

You can do it
  1. A method declared as static can not access non-static class members.
  2. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  3. What is java -g used for?
  4. Which of the following methods belong to the String class?
  5. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  6. Which of the following statements are true?
  7. With javadoc, which of the following denotes a javadoc comment?
  8. When we implement an interface method, it should be declared as public.
  9. Declarations can appear anywhere in the body of a Java method.
  10. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  11. It is perfectly legal to assign a subclass object to a supper class reference.
  12. Session bean
  13. When present, package must be the first no comment statement in the file.
  14. JdbcOdbcDriver is an object of Object class
  15. The concept of multiple inheritance is implemented in Java by
  16. The name of a Java program file must match the name of the class with the extension Java.
  17. Give file is a file object, which of the following are legal statements to create a new file.
  18. Which of the following methods can be used to remove a component from the display?
  19. The use of protected keyword to a member in a class will restrict its visibility as follows:
  20. Which of the following control expressions are valid for an if statement?
  21. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  22. The length of a string object 's1' can be obtained using the expression s1.length.
  23. Which of the following are not keywords?
  24. Servlet can have ___________
  25. The keywords reserved but not used in the initial version of Java re:
  26. The methods wait() and noify() are defined in
  27. It is perfectly legal to refer to any instance variable inside of a static method.
  28. Two methods cannot have the same name in Java.
  29. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  30. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.