| Other Core Java Interview Questions |
|| Asked @
|what is the difference between ArrayList and Vector
|why there are multiple catches for a try block.don't tell me
that there can be multiple exception of a code segment
that's why.tell me the real fact behind this.
|Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed?
|What are null interfaces in JAVA ? and give me some
|How to prevent a field from serialization ?
|how u do unit testing?
|What are the standards to place package statement within a
source code file?
|Is it possible to write JAVA program without including any
of the packages,such as "import java.io.*";
bcoz I instantly wrote a code without "import..." statement
and runned the program on command Line & it worked.
the code is:
Person(String s,int a)
name = s;
age = a;
public static void main(Strings args)throws
String name = args;
int age = Integer.parseInt(args);
Person p = new Person(name,age);
|Read data from console and print in one file. That would be
in C:\temp ? Thanks, Bose
|suppose in a class there is a code like this:
Set hs=new Hashset();
how can u avoid the above code in your class as set won't
allow duplicate objects?
|What is the range of the short datatype?
|whats string ?
|For more Core Java Interview Questions Click Here |