Home / Programming MCQs / JAVA MCQs / Question
M
Q. After the following code fragment, what is the value in a?~~~String s; int a;~~~s = "Foolish boy."; a = s.indexOf("fool");
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Choose the correct usage of boolean literal in the options below.
To control inheritance to different classes and levels, Java provides ____.
Which exception is thrown for trying to create Wrapper class objects with wrong number type?
Which class can handle any type of request so that it is protocol-independent?
What is the purpose of this bit of code?~~~void init()~~~{~~~}
When is the object created with new keyword?
Which of these methods can be used to writing console output?
_____ is used to manage the memory allocation.
Which type of inheritance one super-class have more than one sub-class?
Discusssion
Login to discuss.