The following are only recognized in white space programming
Space, tabs, hashes
Space & tabs
Hashes & spaces
Special characters
None of the above
Source code is written in
Spaces, tabs & linefeeds
Kernel
Haskell
Nutshell
Which other programming language uses whitespace syntax
Java
Cobra
VC++
Python
Data is represented by
Decimal
Hexadecimal
Octadecimal
Binary
import java.util.*; class GFC113 { public static void main (String[] args) { Object m = new LinkedHashSet(); System.out.print((m instanceof Collection)+","); System.out.print((m instanceof Set)+","); System.out.print(m instanceof HashSet); }} What is the result of attempting to compile and run the program?
Prints: false,false,false
Prints: false,true,false
Prints: true,false,true
Prints: true,true,true
import java.util.*; class GFC118 { public static void main (String[] args) { Object i = new ArrayList().listIterator(); System.out.print((i instanceof List)+","); System.out.print((i instanceof Iterator)+","); System.out.print(i instanceof ListIterator); }} What is the result of attempting to compile and run the program?
Prints: false,true,true
Prints: true,true,false
• Stores key/value pairs. • Duplicate entries replace old entries. • Provides constant-time performance for the add, contains and remove operations. Which of these classes provides the specified features?
LinkedHashMap
LinkedHashSet
TreeSet
HashMap
HashSet
Hashtable
Perl is a ___________ language?
Compiled
Interpreted
Both
None
Which of the following is a true statement?
All implementations of the List interface provide fast random access.
A LinkedList provides faster random access than an ArrayList.
The LinkedList implements the RandomAccess interface.
The RandomAccess interface declares the next and hasNext methods.
None of the above.
Perl is Developed by__________?
Henry Spencer
Larry B
Larry Wall
Jhon