Method Overloading and Method Overriding
Description: Method Overloading and Method Overriding | |
Number of Questions: 15 | |
Created by: Aliensbrain Bot | |
Tags: Method Overloading and Method Overriding Inheritance and Constructor Java/Oracle /C/C++ Java |
If there is a protected method within the Public class, then which of the following statements is correct?
Which of the following statements regarding 'finally' block in Java is false?
The method readLine() can be accessed by the object of a ____________ class to read a string from console.
What is the correct syntax of replace() method of the StringBuffer class?
The methods of NumberFormat class are used to display the numbers in standard formats(Currency values and percentage values).The NumberFormat class belongs to which of the following packages?
__________ methods cannot be overriden in a subclass.
___________ method creates and returns a copy of an object.
Which of the following methods of Process class in Java returns an input stream that reads input from the process out?
Which of the following methods is called by the garbage collector when it determines that there are no more references to the object?
Which of the following methods in SmashTransition class is used to modify the work_pixels array for the next cell in Java?
Which of the following character methods in Java returns true value when argument provided with function is in uppercase letters?
Which of the following statements is false regarding method overloading?
Which of the following methods of Runtime class returns the approximate number of bytes of free memory available to the Java run-time system?
Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
Which of the following methods in Integer class returns a string that contains the decimal equivalent of the invoking object?