Java

1 JAVA does not support




... Answer is D)


2 An expression




... Answer is D)


3 in JAVA, a function contained with in a class is called




... Answer is A)


4 main() returns a value of type




... Answer is D)


5 The dot operator connects the following 2 entities(reading from left to right)




... Answer is D)


6 classes are useful because they




... Answer is D)


7 which of the following expressions result in a positive value in x




... Answer is D)


8 what tags are mandatory when creating HTML to display an applet




... Answer is D)


9 Java development kit include




... Answer is D)


10 Java standard library includes hundreds of classes and methods grouped into functional packages




... Answer is A)


11 class members are by default




... Answer is A)


12 Java uses to destroy a objects created by constructor




... Answer is C)


13 Java contains the data types




... Answer is D)


14 Java adds new operator such as instance of and




... Answer is C)


15 Java have a preprocessor




... Answer is D)


16 Java communicates with web page through special tag called




... Answer is A)


17 Java includes type of tokens




... Answer is D)


18 Java specifies major type of literals




... Answer is B)


19 new operator is used




... Answer is C)


20 which of the following can legitimately be passed to a function




... Answer is B)


21 method overloading




... Answer is A)


22 in a class specifier data or function designated private are accessible




... Answer is C)


23 In stack data item placed on the stack first is




... Answer is D)


24 A floating point constant comprise




... Answer is D)


25 variable name should not be start with




... Answer is A)


26 When Java does the type conversion it is said to be




... Answer is A)


27 what will be the value if n=1 of x and y after the following is a segment of a program:x=1;y=1;if(n>0) x=x+1;y=Y-1;




... Answer is D)


28 In Java this keyword can be used anywhere




... Answer is D)


29 method definitions have basic parts




... Answer is D)


30 in Java main() method takes how many no. of parameters




... Answer is A)


31 constructor method have




... Answer is C)


32 what is the output of the following program segment for(i=1,j=0;i<10 answers="" i="+i);</div> <ul class=" j="" system.out.println="">



... Answer is C)


33 the ? Can be used to replace




... Answer is B)


34 which one is false incase of vectors in Java




... Answer is C)


35 by using protected one can create class members that are private to their class but




... Answer is B)


36 the members of a class can be made private




... Answer is B)


37 which of the following are valid methods in java




... Answer is D)


38 vectors can handle primitive data types




... Answer is D)


39 Packages are java's way of




... Answer is C)


40 there are ways of accessing the classes stored in a package




... Answer is B)


41 in java if you want to import all the classes in a package you will use




... Answer is A)


42 In java which is valid




... Answer is C)


43 an end of line is indicated by the following




... Answer is D)


44 there are following phases in lifecycle of threads in java




... Answer is C)


45 a class hierarchy




... Answer is C)


46 an array element is accessed using




... Answer is D)


47 public,private,protected are




... Answer is A)


48 exception keywords




... Answer is D)


49 which one is bitwise operator




... Answer is C)


50 which one is comment indicator




... Answer is C)


51 Which statement is true




... Answer is D)


52 a static automatic variable is used to




... Answer is C)


53 In java the class cannot be subclassed is called




... Answer is A)


54 two dimentional can be defined as




... Answer is C)


55 mathematical functions are supported by java in




... Answer is A)


56 loop operation are performed by




... Answer is D)


57 in java to get the control out of loop we use




... Answer is C)


58 java is said to be platform independent because




... Answer is D)


59 dynamic memory can be allocated by the following declaration




... Answer is A)


60 a method that is called automatically when an object is created is known as




... Answer is C)


61 a method that automatically when an object is destroyed




... Answer is D)


62 special symbol used by java to document java packages and methods




... Answer is A)


63 which command is used to genrate API-style HTML documentation automatically




... Answer is B)


64 a command that disassembles java.class files




... Answer is C)


65 the java debugger is




... Answer is D)


66 JDK stands for




... Answer is B)


67 In java short is data type of length




... Answer is B)


68 API stands for




... Answer is B)


69 class error{ public static void main(string args[]){ system.out.println("hello java!")}




... Answer is A)


70 which java class supports many methods that enable us to draw many types of shapes




... Answer is C)


71 which operator is used to bitwise complement




... Answer is A)


72 in java right shift operator is




... Answer is A)


73 In java strings can be concatenated by using




... Answer is A)


74 Java supports




... Answer is D)


75 Java compose class libraries for applet and networking programming




... Answer is D)


76 a command for running the java compiler




... Answer is D)


77 a base class is inherited by




... Answer is A)


... Answer is C)


3 What is the term which represents the use of links between information of all sorts whether text, graphics, video or audio- based ?




... Answer is B)


4 Which of the following require large computer memory




... Answer is D)


5 A term associated with the comparison of processing speeds of different computer systems is:




... Answer is C)


6 The retrieval of information from the computer is defined as




... Answer is C)

No comments

Eligibility Criteria and Topic for IT Professionals (HARTRON) on Job Work Basis

Eligibility Criteria and Topic for IT Professionals (HARTRON) on Job Work Basis Sr. No. Category Qualific...

Powered by Blogger.