-
-
-
-
-
-
-
Why is transient modifier used and where in real life?
Many people disturbed me about the solution,some one help me.
-
-
-
What are the two ways to create the thread?
A) by implementing RunnableB) by extending ThreadC) Both a and bD) None of the above
-
In order for a source code file, containing the public class Test, to successfully compile, which of the following must be true?
A) It must have a package statementB) It must be named Test.javaC) It must import java.langD) It must declare a public class named Test
-
-
Which of the following methods cause the String object referenced by s to be changed? (Select multiple)
A) s.concat( )B) s.toUpperCase( )C) s.replace( )D) s.valueOf( )
-
A method is overridden if there is a method in the subclass that has the same name and the ________ set of parameters.
Skill/Topic: InheritanceA) SameB) DifferentC) MixedD) None of the above
-
__________ code segments must be implemented for an event handler.
Skill/Topic: AWT & AppletsA) OneB) TwoC) ThreeD) Four
-
-
-
-
-
Java Interview Questions
Ans