Java Multiple Choice Questions
- Choose best option that describes Constructor.
- Have no return type
- Use name of the class and have no return type
- Use name of the class
- None of the above
Added By : Prashant
- Overloaded methods are differentiated by
- Number of arguments
- Data type of arguments
- Number and the Data type of the arguments
- None of the above
Added By : Prashant
- Which keyword is used to inherit class?
- inherit
- extends
- inheritance
- extend
Added By : Prashant
- Which method of System class is used to copy array?
- copyArray
- arrayCopy
- arraycopy
- arrCopy
Added By : Deeksha
- Which is right way to creating an array of integer?
- javaArray = new int[10];
- javaArray new = myArray[10];
- int[] javaArray = new int[10];
- A and C Both
Added By : Deeksha
- Which is right way to declare Array?
- int[] myArray;
- int myArray[];
- int []myArray;
- A and B Both
Added By : Deeksha
- How integer literal can expressed binary data?
- int binaryData = b11010;
- int binaryData = bx11010;
- int binaryData = 0b11010;
- int binaryData = xb11010;
Added By : Deeksha
- If you access an uninitialized local variable will result?
- Syntax Error
- Compile Time Error
- Run Time Error
- No Error
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