-
How SCJP exams are Helpful???
I am new to java...if I passed out the SCJP exams then how it would be beneficial at time of job..interviews???
-
Use of abstract class and interface
What is the exact use of abstract class and interface?
-
Polymorphism
Explain polymorphism to your 7 year old nephew.
-
Python programming
How do i write a module to keep count of the amount of guesses it takes to guess the number correctly?
-
Select appropriate answers for the incomplete declaration listed below?
class A ______ B ______ C { } // line 4
a) The 1st blank should be extends and the 2nd blank should be implements.
b) The 1st blank should be implements and the 2nd blank should be extends.
c) B is a class and C is an interface
d) B and C can be either class or interface depending upon the placement of extends or implements in the 1st or 2nd blank. -
Which of the following is true about packages?
a) Classes in the same package can access each other.
b) The inherited class should be in the same package as the parent class.
c) Package name a.b implies, package b is inherits from package a.
d) Package access is next to private access in being restrictive. -
Given the two methods:
void f() throws IOException
Which of the following is/are correct overriding method?
a) void f() throws IOException
b) public void f()
c) void f() throws FileNotFoundException
d) void f() throws Exception -
Thread and Runnable
When we will use thread and runnable in java program ?
-
-
-
How is Java considered tamper free?
I read in the properties of java that it is secured as it is tamper free. I would like to know what is tamper free and how it applies to Java?
-
String Input Library
Write a Java program without using any library function in string
i/p: My name is Rama
o/p: Rama si eman yM
Single Thread and Multiple Thread
What is difference between Single Thread and Multiple Thread?
Explain Single Thread Model Vs. Multi thread model. Support your answer with practical example?Which containers use a FlowLayout as their default layout
The Panel and Applet classes use the FlowLayout as their default layout.
What restrictions are placed on the location of a package statement within a source code file
A package statement must appear as the first line in a source code file (excluding blanklines and comments).
What is clipping
Clipping is the process of confining paint operations to a limited area or shape.
When a thread blocks on I/O, what state does it enter
A thread enters the waiting state when it blocks on I/O.
What is the range of the short type
The range of the short type is -(2^15) to 2^15 - 1.
Ans