5 years ago in Java Classes And Methods

Which of the following statements are incorrect?

[A] String is a class
[B] Strings in java are mutable
[C] Every string is an object of class String
[D] Java defines a peer class of String, called StringBuffer, which allows string to be altered.
Loading...
Next Question

Overall Stats

Attempted 191
Correct 95
Incorrect 36
Viewed 60

Answers

Guest
Guest
Zo Go
Zo Go - 3 weeks ago

Zo Go from Casablanca, Morocco is saying Strings in java are mutable is correct answer

Assaad Amine
Assaad Amine - 3 weeks ago

Assaad Amine from Casablanca, Morocco is saying Strings in java are mutable is correct answer

Awa Kone
Awa Kone - 4 weeks ago

Awa Kone from Berrechid, Morocco is saying Strings in java are mutable is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying Every string is an object of class String is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying Strings in java are mutable is correct answer

Related Questions

Which method can be defined only once in a program?

  • [A] main method
  • [B] finalize method
  • [C] static method
  • [D] private method

What is the process of defining more than one method in a class differentiated by method signature?

  • [A] Function overriding
  • [B] Function overloading
  • [C] Function doubling
  • [D] None of the mentioned

Which of these statement is incorrect?

  • [A] All object of a class are allotted memory for the all the variables defined in the class.
  • [B] If a function is defined public it can be accessed by object of other class by inheritance.
  • [C] main() method must be made public.
  • [D] All object of a class are allotted memory for the methods defined in the class.