| Other Core Java Interview Questions |
|| Asked @
|how we can write the string concatenation program in java.
|What modifiers are used with a top level class?
|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);
|explain the classification of exception and hoew to handle
|Can you explain the difference b/n abtract and interface
with a good example,?In what cases we have use abtract and
what case interface?
|Suppose there is an array list [10,5,20,19,15,24].Print them
in ascending & descending order in collection framework
|How 'java' got its name and what it stands for?
|Different types of modifiers?
|If I have 1000 objects and my requirement is to sort them
quickly, then which collection would you recommend and why?
|what is Thread?
|When does Exception occurs?
|what is the Arraylist limit (maximum) by default ?
|For more Core Java Interview Questions Click Here |