Rajasthan Polytechnic Third Year Paper 2016 – Programming in JAVA

Rajasthan Polytechnic Third Year Paper 2016 – Programming in JAVA

Features of object oriented programming are
(a) Polymorphism
(b) Inheritance
(c) Encapsulation
(d) Above all

Full form of JVM is
(a) Java Variety Metal
(b) Java Venn Machine
(c) Java Virtual Machine
(d) None of the above

Features of Java are
(a) Portable
(b) Secure
(c) Robust
(d) Above all

JavaC command is used for
(a) debug a java program
(b) compile a java program
(c) interpret a java program
(d) execute a java program

Command to execute java program is
(a) java
(b) javaC
(c) run
(d) javaW

Range of byte data type in Java is
(a) -128 to 127
(b) -32768 to 32767
(c) 1 to 10
(d) 100 to 200

Which of the following statement is correct?
(a) Pointers are not used in Java
(b) Pointers are used in Java
(c) Pointers is a keyword in Java
(d) None of the above

‘%’ symbol represents which operator?
(a) Addition
(b) Subtraction
(c) Equal to
(d) Modulus

Which of the following is not a keyword in Java?
(a) this
(b) byte
(c) if
(d) utter

Which of the following is a correct name for variable in Java?
(a) % abcd
(b) package
(c) 8 abc
(d) _an_y


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *