Programming  Java  Fundamentals

1. Java Source Code is compiled into ______________.

.Exe Bytecode .Obj Source Code
Comments

Share QNo: 1

2. Which of the tool is used to compile java code ?

javac jar javadoc java
Comments

Share QNo: 2

3. jar stands for _____________.

Java Archive Runner Java Archive none of these java Application Runner
Comments

Share QNo: 3

4. Which of the following is not a keyword in Java.

abstract finalize boolean assert
Comments

Share QNo: 4

5. Single line comment starts with _________ in Java.

/* // None of these /**
Comments

Share QNo: 5

6. The new operator

returns a pointer to a variable creates a variable called new obtains memory for a new variable tells how much memory is available
Comments

Share QNo: 6

7. Which of the following statement is correct?

For positive numbers, result of operators >> and >>> are same Java provides two operators to do left shift <<< and << >> is the zero fill right shift operator >>> is the signed right shift operator
Comments

Share QNo: 7

8. Java language has support for which of the following types of comment ?

block, line and javadoc javadoc, literal and string javadoc, char and string single, multiple and quote
Comments

Share QNo: 8

9. Command to execute a compiled java program is :

javac java run execute
Comments

Share QNo: 9

10. The java compiler

creates executable translates java source code to byte code creates classes produces java Interpreter
Comments

Share QNo: 10

 

*Click on the QNo to display a Question.

Total Ans