Java Classes Question:

Download Job Interview Questions and Answers PDF

A stack stores data using first-in, last-out ordering.
A) True
B) False

Java Classes Interview Question
Java Classes Interview Question

Answer:

Yes it is true ... Stack works on the Startegy of First In First Out

Download Java Classes Interview Questions And Answers PDF

Previous QuestionNext Question
In this example class-var = new classname( );
The classname is the name of the class that is being instantiated.

A) True
B) False
The type of data returned by a method need not be compatible with the return type specified by the method

A) True
B) False