Java True False Questions
- Enumerations are a special data type in Java that allows for a variable to be set to a predefined variable.
- True
- False
Added By : Muele
- int x[] = new int[]{10,20,30};<br><br>Arrays can also be created and initialize as in above statement.
- True
- False
Added By : Preeti
- In an instance method or a constructor, "this" is a reference to the current object.
- True
- False
Added By : Akash
- Garbage Collection is manual process.
- True
- False
Answer :
B
Explanation:
The Java runtime environment has a garbage collector that periodically frees the memory used by objects that are no longer referenced. The garbage collector does its job automatically when it determines that the time is right.
Added By : Akash
- The JRE deletes objects when it determines that they are no longer being used. This process is called Garbage Collection.
- True
- False
Added By : Akash
- Constructor overloading is not possible in Java.
- True
- False
Answer :
B
Explanation:
Constructor overloading is possible in Java. The Java compiler differentiates the constructors based on the number and the type of the arguments.
Added By : Akash
- Assignment operator is evaluated Left to Right.
- True
- False
Added By : Deeksha
- All binary operators except for the assignment operators are evaluated from Left to Right
- True
- False
Added By : Deeksha
Also Exercise
Post Your Question
Social Sharing
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015