Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Java Programming quiz, level Intermediate, question 11
Question: The statement int [] counts = new int [26];
Answer 1:Creates an array object that can hold up to 26 whole numbers
This was the CORRECT answer
Answer 2:Creates an array object that can hold up to 27 whole numbers (positions 0 through 26)
Answer 3:Creates an array object, initially with enough memory allocated to hold 26 numbers. But this will be extended automatically if you go past the end of the array.
Answer 4:Creates a pointer to an integer array, but doesn't actually allocate any memory for it. A maximum size of 26 numbers is set for later use.

This was a question from our quiz ... but we have now provided you with the answer (above) - we prefer to provide you with information rather than to puzzle you.
Lua
PHP
Perl
Java
MySQL
Python
Linux
Apache Tomcat
Apache httpd
C and C++
Tcl and Tcl/Tk
Hotel
Recent additions


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho