Hi, I dont have have answers for the below questions.I will be glad if somenone gives me the answers. 1) does Java support variant datatype? 2)which are indeterminate loop types in Java? 3)what do ordinalcomparators(<,<=,>,>=) return? 4)static modifiers are not allowed to use________ features of their class. 5)while an objects_________ is unchanging, it may be referenced by variables of different ________ 6)yield()and sleep() throw which kind of exceptions. 7)which of these accept duplicates? a)collection //accepts b)list //accepts c)set //doesnt accept d)map //may be since map can be combined 8)what are the 3 font names that u can always use in setting a font? 9)what are the 4 integral datatypes? 10)u can define constructors using what 2 access specifiers 11)what class is b in this code: Base b = new Sub(); Thanks!
Hi avn, here r some of the answers 8) the following three fonts are available on all platforms "Serif", "SansSerif", "Monospaced" 9) byte, short, int, long 10) constructors can have all the four access modifiers (including friendly), but any one modifier at a time 11) b is an object of class Sub()
Hi, I also think char should be included in answer of ques 9. answer to some other ques ---- 3) they return boolean value 4) non static 6) yield() method does not throw any exception while sleep() method throws Interrupted Exception. 7) set does not accept duplicates. hope to hear other ranchers opinion regards deekasha
According to Bill Brogden's "Exam Cram": "Java has four basic types of primitives: integer, character types, floating-point types, and boolean types. The integer types are all treated as signed ... The character type represents 16-bit Unicode characters and can be considered as unsigned integer for many purposes." In Marcus Green's tutorial four integer types of primitives are: byte, short, int, and long only. I would not choose a char for the answer.
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop