Sie sind auf Seite 1von 12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

Follow Us To Stay Updated On New Blog Post

Objective Questions
LanguageSet2

On

Core

Follow@siteforinfotech

Java

1)Themethodswait()andnotify()aredefinedin
2
Shares

2,793followers

A.java.lang.String
B.java.lang.Runnable
C.java.lang.Object
D.java.lang.Thread

AdvertiseHere
T OPLABE LS

BasicIT
Blogging
Bootstrap
C
C#
C++
ComputerArchitecture
ComputerFundamental
CSS
DataStructure
Database

2)Thedataorvariables,definedwithinaclassarecalled.....variables.

Management

System
Ecommerce

A.object

Internet&WebDesigning
ITTutorials

B.class

Java
JavaScript

C.instance

MIS
Multiple Choice Question

D.schema
http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

(MCQ)
1/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

Networking
Follow Us To Stay Updated On New Blog Post

Follow@siteforinfotech

3)WhenweimplementtheRunnableinterface,wemustdefinethemethod.

2,793followers
OnlineEarning

OperatingSystem
OracleFormsandReports

A.start()

ProgrammingGuide
ProgrammingTutorials

B.init()

Shares

Reviews
SEO

C.run()
2

D.resume()

SponsoredPost
SVG
System

Analysis

and

Design
4)........classmustgiveaconcretemethod.

TopList
POPULARPOST S

A.abstract

How to create a Simple


calculatorUsingHTMLand

B.constructor

JavaScript
Here are the steps to create a

C.least

simple

calculator

using

HTML and JavaScript which


D.program

canevaluatesimplearithmetic
onintegernumbers.Twoty...
Solved

5)Whichexceptionisthrownbytheread()methodofinputstreamclass?
http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

MCQ

of

Data

StructureSet1
2/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

1. Which if the following


A.Exception

Follow Us To Stay Updated On New Blog Post

Follow@siteforinfotech

2,793followersthe
is/are

implementation
B.FileNotFoundException

data

level

C)

Implementa...
Solved MCQ of Database

2
Shares

of

of

structureA) Abstract level B)


Application

C.ReadException

levels

D.IOException

Management

System

(DBMS)Set1
2

1. DBMS is a collection of
6)Whenamethodcallsitself,itiscalled......

.. that enables user


to create and maintain a

A.recursion

database.

A)

Keys

B)

Translators C) Program D)
B.distance

Langu...
MCQ

C.display

of

Computer

Networking with answer


set2

D.problem

1. A network that needs


human beings to manually
route signals is called.... A)

7)Whichofthefollowingstatementsaretrue?

FiberOpticNetworkB)
B...

i)Anabstractclassmaynothaveanyfinalmethods.

Solved MCQ on Searching


and Sorting Algorithms in

http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

3/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

DataStructureset2

ii)Afinalclassmaynothaveanyabstractmethods
Follow Us To Stay Updated On New Blog Post

Follow@siteforinfotech

iii)Aninnerclassmaybedeclaredwithanyaccessibilitykeyword

2,793followers
Get
Data Structure MCQs as

pdf

EBook

on

Free

Download Now 1) The worst


iv)Transientvariablemustbestatic

case occur in linear search


algorithm when ....... A.

A.iandii

Shares

Item...
Solved MCQ of Computer

B.iiandiii
2

Organization

and

Architectureset1
C.iiiandiv

1. A collection of lines that


connects several devices is

D.Alli,ii,iiiandiv

called .............. A) bus B)


peripheral connection wires
C)Bothaand...

8)Whichofthefollowingstatementsis/arefalse?

Solved MCQ of Database


Management

A.Ajavamonitormusteitherextendthreadorimplementrunnable

System

(DBMS)Set2
1. The candidate key is that

B.Thesleep()methodshouldbeenclosedintry....catchblock.

you choose to identify each


row

uniquely

is

called

C.Athreadcanbetemporarilysuspendedfromrunningbyusingthewait()

.. A) Alternate

method.

KeyB)PrimaryKeyC)F...
Solved MCQ on List and

D.Asuspendedthreadusingsuspend()methodcanbereceivedusingthe
http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

Linked

List

in

Data
4/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

Structureset1

resume()method.
Follow Us To Stay Updated On New Blog Post

Follow@siteforinfotech

2,793followers
Get
Data Structure MCQs as

pdf
9)WhatdoesJ2SEmean?

EBook

on

Free

Download Now 1) Linked


listsarebestsuited.....A. for

A.Java2PlatformStandardEdition

Solved MCQ on TCP/IP

2
Shares

relativelypermanentcolle...

B.Java2InternetStandardEdition

and UDP in Computer


Networksset1

C.Java2SystemEdition

1) TCP is a .......... protocol.


A.

D.Java2PlatformIndependentStandardEdition

streamoriented

B.

messageoriented C. block
orientedD.packetoriented2)
Whichofthefo...

10)An........isaspecialkindofJavaprogramthatisdesignedtobe

MCQ

transmittedovertheInternet.

OracleWithAnswerset2

of

PL/SQL

and

1. ....................... are used to


A.viewlet

recreate if trigger already


exists. A) Cursor B) Trigger

B.applet

C) Keywords D) Replace 2.
........

C.servlet
FINDUSONFACE BOOK

D.object

http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

5/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

11)WhicharethevalidwaystocreateDataInptStreamstreams?
Follow Us To Stay Updated On New Blog Post

InformationTechnolog
Follow@siteforinfotech

2,793followers

LikePage

2.4Klikes

A.newDataInputStream()

Bethefirstofyourfriendstolikethis

B.newDataInputStream("in.dat',"r")

C.newDataInputStream(newFile("in.dat"))

Shares

D.newDataInputStream(newFileInputStream("in.dat")
2

12)finalize()isonlycalledjustpriorto.....
A.initialization
B.runtime
C.garbagecollection
D.destruction

13)Whenweinvokerepaint()foracomponent,theAWTinvokesthe
method

http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

6/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

A.draw()
Follow Us To Stay Updated On New Blog Post

Follow@siteforinfotech

B.show()

2,793followers

C.update()

D.paint()

Shares

14)WhatistheuseofvalueOf()method?
A.Itconvertsdatafromitsinternalformatintoahumanreadableform.
B.Itconvertsintegervaluetostring
C.Itconvertsstringtointvalue
D.Itconvertsstringtofloatvalue

15)Whatisthedefaultthreadatthetimeofstartingtheprogram?
A.Mainthread
B.ThreadGroup
http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

7/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

C.ChildThread

Follow Us To Stay Updated On New Blog Post

Follow@siteforinfotech

2,793followers

D.ThreadPool

16)Whatdoesthefollowinglineofcodedo?

Shares

TextFieldtext=newTextField(10)
2

A.Createstextobjectthatcanhold10rowsoftext
B.Createstextobjectthatcanhold10columnsoftext
C.Createstheobjecttextandinitializeitwiththevalue10
D.Thecodeisillegal

17)..........isanapplettag.
A.(applet)
B.>applet<

http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

8/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

C.<applet>
Follow Us To Stay Updated On New Blog Post

D.<applettag>

Follow@siteforinfotech

2,793followers

18)InJavathreadtothreadcommunicationiscalled......
2
Shares

A.Passing

B.sending
C.Messaging
D.Calling

19)AWTstandsfor
A.abstractwindowtoolkit
B.abstractwindowtoolbar
C.accesswindowtoolbar
D.accesswindowtoolbar
http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

9/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

Follow Us To Stay Updated On New Blog Post

Follow@siteforinfotech

20)ThesetBackground()methodispartoftheclass

2,793followers

A.Graphics

B.Applet

Shares

C.Component
2

D.Container
Answers:
1)C.java.lang.Object
2)C.instance
3)D.resume()
4)A.abstract
5)D.IOException
6)A.recursion
7)B.iiandiii
8)A.Ajavamonitormusteitherextendthreadorimplementrunnable
9)A.Java2PlateformStandardEdition
10)B.applet
11)D.newDataInputStream(newFileInputStream("in.dat")
12)C.garbagecollection
http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

10/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

13)C.update()
Follow Us To Stay Updated On New Blog Post
14)D.Itconvertsstringtofloatvalue

Follow@siteforinfotech

15)A.Mainthread

2,793followers

16)B.Createstextobjectthatcanhold10columnsoftext
17)C.<applet>
18)C.Messaging
2
Shares

19)A.abstractwindowtoolkit
20)C.Component

Related Posts:
MCQQuestionsOnSystemDevelopmentToolsSet2

SolvedMCQsOnSystemDevelopmentToolsSet1

Top20ObjectiveQuestionsOnSDLCSet5

MultipleChoiceQuestionsOnSDLCSet4

MCQQuestionsOnFundamentalOfJavaSet16

InterviewQuestionsOnCoreJavaLanguageSet3

Posted by Shuseel Baral on Jan 23, 2015 under Java, Multiple Choice
Question(MCQ)
http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

11/12

9/9/2016

ObjectiveQuestionsonCoreJavaLanguageset2|InfoTechSite

Comments

Login

Follow Us To Stay Updated On New Blog Post


Therearenocommentspostedyet.Bethefirstone!

Follow@siteforinfotech

2,793followers

Postanewcomment
Entertextrighthere!

2
Shares

CommentasaGuest,orlogin:
2

Name

Email

Website(optional)

Displayednexttoyourcomments.

Notdisplayedpublicly.

Ifyouhaveawebsite,linktoithere.

Subscribeto None

SubmitComment

Previous

Home

Next

AboutUs|Privacy
Policy|Sitemap|ContactUs
2016siteforinfotech.comAllrightsreserved.PoweredbyBlogger.

http://www.siteforinfotech.com/2015/01/objectivequestionsoncorejava.html

12/12

Das könnte Ihnen auch gefallen