Members BookmarksPolls Fresher Jobs Strange Photos Academic Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

Advertisements


website counter




Most asked interview questions in java


Posted Date: 23 Mar 2008    Resource Type: Articles/Knowledge Sharing    Category: Placement Papers

Posted By: Logeshwaran       Member Level: Gold
Rating:     Points: 3



1.what is oops?
2.write about(a)explicit/implicit keywords
(b)overloading/overriding
3.what is connection pooling?
4.what is marshalling(rmi)
5.what are the different drivers in JDBC?
6.what is session tracking ,what are the different
ways of session tracking?
7.write the output of the following
public class hello
{
static
{
System.out.println("hello");
}
}
(a)compile time error
(b)runtime error
(c)Hello
(d)none of these
Ans:b,c
8
public class testit
{
public static void main(String args[])
{
First s=new Second();
Second s2=(Second)s;
System.out.println(s2.var);
s2.method();
}
}

class First
{
int var=1;
public void method()
{
System.out.println(var);
}
}

8)class Second extends First
{
int var=2;
public void method()
{
System.out.println(var);
}
}

options:
(1).2 (2).1 (3)2 (4)1
2 2 1 1
Ans:(1)2,2

class one
{
public void test()throws Exception1,Exception2
{// do something
}
}
class two extends one
{
public void test()
{
do another thing
}
}
If another class that extends two is written and if
it
overrides test method which of the
following Exceptions should it throw
(a)no exception
(b)Exception1
(c)Exception2
(d)some other Exception

9.
which of the following are used to find the length
of
a string
(a).length();
(b).length
(c).length;
(d)none of these

10.write a program to draw concentric circles on a
frame

11.write a program to reverse a given string








Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Tips for Interview
Previous Resource: Personal interview questions in sotware companies
Return to Discussion Resource Index
Post New Resource
Category: Placement Papers


Post resources and earn money!
 
Related Resources


Contact Us    Privacy Policy    Terms Of Use   

SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.