Information Technology Quiz – 25

information technology

Dear Aspirants,

Daily Information Technology Quiz is the basic part of the Himachal GK. It is helpful to increase your knowledge based on information technology. It is a series of Himachal Gk MCQs. You can also play our weekly quiz and download all quizzes PDF as well.

1. Which of this class is not including in java language?
(A) Integer
(B) Array
(C) Class
(D) Function

2. Which of the following is not a java feature?
(A) Dynamic
(B) Object-oriented
(C) Architecture neutral
(D) Use of pointers

3. The process of converting a simple data type into a class is called?
(A) Type wrapping
(B) Typecasting
(C) Type define
(D) Type conversion

4. Which of the following is used to find and fix bugs in the java program?
(A) JRE
(B) JVM
(C) JBD
(D) JDK

5. Which is a superclass of wrappers double and integers?
(A) Double
(B) Long
(C) Float
(D) Number

6. Which of the following is a valid char declaration?
(A) char xy = ‘/uxyz’;
(B) char xy = ‘xyz’;
(C) char xy = uxyz;
(D) char xy = ‘uxyz’;

7. What is the return of the hashCode() in the object class?
(A) Int
(B) Float
(C) Char
(D) Double

8. Which method is used to check for infinitely large and small values in java?
(A) isNULL()
(B) isNaN()
(C) isInfinite()
(D) None of these

9. Which package stores all simple data types in java?
(A) java package
(B) util
(C) java
(D) Lang

10. What will be the output of the expression float x = 35/0?
(A) 0
(B) Infinity
(C) Not a number
(D) All the above

About pankaj 837 Articles
Pankaj is passionate about his work. Because he loves what he does. He is a full time blogger and also has experience in Computer as well as in Teaching Field. DHGK is the dream Project of his own Mind to help aspirants.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.