Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing



Question - 1

Which of these is not a valid keyword in Java ?

  • default
  • new
  • null
  • String
Solutions
Question - 2

Which of these are legal identifiers?

  • number_a
  • number_1
  • $1234
  • all the above
Solutions
Question - 3

Which of the following are Java keywords?

  • throw
  • void
  • private
  • All the above
Solutions
Question - 4

Which is the legal range of values for a short?

  • -128 to 127
  • -256 to 255
  • -32768 to 32767
  • D. 0 to 65535
Solutions
Question - 5

which operator is considered to be with highest precedence?

  • () , []
  • {}, -
  • ?, %
  • =,+
Solutions
Question - 6

Java is a _____________language.

  • object oriented
  • procedural oriented
  • platform oriented
  • system oriented
Solutions
Question - 7

JDK stands for ___?

  • java deployment kit
  • java development kit
  • java deallocation kit
  • None of the above
Solutions
Question - 8

 Java is developed by_________

  • Microsoft
  • Oracle
  • Sun
  • Google
Solutions
Question - 9

What is the default value of Object variable?

  • undefined
  • 0
  • nulll
  • not defined
Solutions
Question - 10

Which of the following is a legal identifier in java ?

  • +@myvar
  • $_myvar
  • 3_myvar
  • None of the above
Solutions
Question - 11

What is the extension of the Java program?

  • .java
  • .jv
  • .txt
  • .doc
Solutions
Question - 12

 What is the size of float variable?

  • 8 bit
  • 16 bit
  • 32 bit
  • 64 bit
Solutions
Question - 13

What is JIT compiler?

  • JIT improves the runtime performance of computer programs based on bytecode.
  • JIT is an application development framework.
  • JIT is an implementation of the Java Virtual Machine which executes Java programs.
  • None of the above
Solutions
Question - 14

 Java is developed by__________

  • James Gosling
  • Patrick Naughton
  • Rasmus Lerdorf
  • None of the above
Solutions
Question - 15

Which operator will always evaluate all the Operands?

  • ||
  • &&
  • ?:
  • %
Solutions
Question - 16

 Which of the following is true about String?

  • String is mutable.
  • String is immutable.
  • String is datatype
  • None of the above
Solutions
Question - 17

In order to run Java program, we need to install __________application program

To run a java programwe need to install the "Java Development Kit" (JDK) application program.

  • DBK
  • JDK
  • JKD
  • SDK
Solutions
Question - 18

Which of the following operations is/are required to convert the java source code into output form

  • Compilation
  • Interpretation
  • Both A & B
  • None
Solutions
Question - 19

JRE Stands for___?

  • Java Runtime Environment
  • java runtime execution
  • java runtime exception
  • None of the above
Solutions
Question - 20

Previously Java was known as ________.

  • Oak
  • Java only
  • Javascript-v-0
  • None of the above
Solutions
Tags:
60+ Best Core java Interview Questions, Core java MCQ questions for placement,Core java interview questions, Previously asked Core java Questions, Frequently asked Core java Questions,Core java Questions for TCS, Core java Interview Questions for Freshers, Core java Interview Questions for Experience, Accenture Core java Interview Questions, Core java Objective Questions for Interview


Practice More sets Questions