JAVA objective type question
Here explained computer science and programming objective type question, that is most used in practice/competitive programming/company interview exam.
You find all exam paper questions and to answer and if you have any doubt without fearing contact us.
Where is creating
java programming language ?
⇛At sun Microsystems
The _______cannot be used as name for a variable, class or
method.
⇛Keyword
JFC stand for:-
⇛JAVA FOUNDATION CLASSES
How many bits are stored when creating long type variable ?
⇛64bits
___ array is a collection of variable.
⇛One dimension array
Which array represent variable ?
⇛Multi-dimension array .
JAVA objective type question
Which type of class is not inherited in java ?
⇛Constructor object class
FCL stand for:-
⇛FRAMEWORK CLASS LIBRARY
How many argument passing in replace()function()?
⇛Two
Which package is imported when we ___use StringBuffer class?
⇛Java.lang
How many type of specified in java ?
⇛Four
___ specifies class that member can be access by any other
code.
⇛Public
__ member can only access by other member of it’s class
⇛Private
A class within other class is know as__
⇛Nested class
Type of nested class.
⇛Static
⇛Non static
JAVA objective type question
____access to all of the variable and method of it’s outer
class
⇛Non static nested class
Non static nested class also know as…
⇛Inner class
full form of JWT:-
⇛ABSTRACT WINDOW TOOLKIT
To inherit a class which key word is used?
⇛Extends
__ inheritance does not support when has single sub class in
java.
⇛Multiple inheritance
How many type of in heritance in java?
⇛Three
full form of CLR:-
⇛COMMON LANGUAGE RUN-TIME
All exception types
subclass o the ___class.
⇛Throwable
Exception is __error to handing it.
⇛Runtime
Array index is out of range with exception is generated?
⇛Bounces
full form of IDE:-
⇛INTEGRATED DEVELOPMENT ENVIRONMENT
Which method is sued to stop thread for some time?
⇛Stop()
___is linked to a physical device.
⇛Stream
There are __type of stream in java?
⇛Two
full form of API:-
⇛APPLICATION PROGRAMMING INTERFACE
__is single sequential flow of control
⇛Thread
____does not have its own address space.
⇛Thread
Which method of graphics class is used to draw circle in an
applet?
⇛The method drawoval()
Which are two methods executed only one time in applet life
cycle?
⇛Init ()
Which method is used to graphics class object as argument in
applet?
⇛Paint ()
JAVA objective type question
Which method loaded by the browser ?
⇛Init()
GUI stand for:-
⇛GRAPHICS USER INTERFACE
How cdan we achieve multiple inheritance in java ?
⇛Interface using
Which block get executed compulsory whether exception is
caught or not?
⇛Finally
Which method are used to inset element in vector object?
⇛Add()
Which mehod are used to get the location of mouse pointer in
swing?
⇛getLocation()
JAVA objective type question
which layoutManager are used to arrange components as row
and column ?
⇛GridLayout
JRE stand for:-
⇛JAVA RUN-TIME ENVIRONMENT
Which package contains JFrame class in java?
⇛Javax.swing
How many space occupied by short type variable?
⇛16bits/2byte
Give name of a constructer for thread.
⇛setName()
write command to run applet
⇛dataoutputstream
JAVA objective type question
which method is used to graphic class object as argument?
⇛Paint()
JVM stand for:-
⇛JAVA VIRTUAL MACHINE
The syntax of main() method of java program is___
⇛Public static void main(String[]args)
Comments
Post a Comment