Click Here to Get Worlds Smallest Email Id (Better than Gmail & Yahoo!)

JobsAssist.com - Jobs Resources & Placement Papers
Get Vyom Interview Success Kit Now!
» Now 9,000 Questions & Answers !!
» 10,000+ Pages | Written by 58 Subject Experts | 81 Question Categories
» Every Successful Candidate has this!
Special

Get Salary before getting a Job!
Click here


Main Menu

JobsAssist.com Home Home
 Freshers Jobs Freshers Jobs
Latest Freshers Jobs Latest Jobs
Add Freshers Jobs to My Yahoo My Yahoo!
Free Vyom Career Magazine Free Career Mag
 IT Companies Placement Papers IT Placement Papers
 Govt. Sector Companies Placement Papers Govt. Sector Papers
 5000 IT Companies Directory IT Directory
 Free Magazines Free Magazines
 Consultants Directory Consultants
 Training Institutes Directory Training Inst.
 Interview Questions Interview Questions
 Motivational Quotes Motivational Quotes
 Call Center Information Call Center Info
 Final Year Projects Final Year Projects
 Jobs Discussion Forums Jobs Forum
 Vyom Resume Submitter Resume Submitter
 Free Resume Builder Downloads Free Resume Builders
 Contact Us Contact Us


Resume Submitter

Vyom Network
    Vyom Resources
    Source Codes
    Online Exams
    Discussions World
    Free eBooks
    20,000 Downloads

HOT Resources
Free Career eMagazine

  Advertise for FREE!

HOT eBook

Search JobsAssist.com
Google



Your Ad Here

Welcome to JobsAssist.com - Single Stop for Complete Career Resources
Home » Placement Papers » Amiti Placement Papers » Amiti Placement Paper 1
Join VYOM-JOBS and receive latest 2008 Placement Papers for FREE

 

Amiti Placement Paper 1


Error icon Receive Genuine Job Information & latest Walk-in details in your mailbox everyday! Join our Yahoo! Group by entering your email in the form below:


Search Jobs:
(For Example: Software Testing Jobs, BPO Jobs, J2EE Jobs, etc.)




Sample test  paper conducted on 18th OCTOBER 2007.

AMITI PAPER ON 18th OCTOBER 2007

Hi
1) What wil the o/p:
class Base{
private void amethod(int iBase){
System.out.println("Base.amethod");
}
}
class Over extends Base{
public static void main(String argv[]){
Over o = new Over();
int iBase=0;
o.amethod(iBase);
}
public void amethod(int iOver){
System.out.println("Over.amethod");
}
}

2) public class Rpcraven{
public static void main(String argv[]){
Pmcraven pm1 = new Pmcraven("One");
pm1.run();
Pmcraven pm2 = new Pmcraven("Two");
pm2.run();
}
}
class Pmcraven extends Thread{
private String sTname="";
Pmcraven(String s){
sTname = s;
}
public void run(){
for(int i =0; i < 2 ; i++){
try{
sleep(1000);
}catch(InterruptedException e){}
yield();
System.out.println(sTname);}
}
}

3) import java.io.*;
public class Th{
public static void main(String argv[]){
Th t = new Th();
t.amethod();
}
public void amethod(){
try{
ioCall();
}catch(IOException ioe){}
}
}

4) class Background implements Runnable{
int i=0;
public int run(){
while(true){
i++;
System.out.println("i="+i);
} //End while
return 1;
}//End run
}//End class

5) class Background implements Runnable{
int i=0;
public int run(){
while(true){
i++;
System.out.println("i="+i);
} //End while
return 1;
}//End run
}//End class

6) public class MyFor{
public static void main(String argv[]){
int i;
int j;
outer:
for (i=1;i <3;i++){
inner:
for(j=1; j<3; j++) {
if (j== 2)
continue outer;
System.out.println("Value for i=" + i + " Value for j=" +j);
}
}
}

7) class Base
{int i = 99;
public void amethod()
{
System.out.println("Base.amethod()");
}
Base(){
amethod();
}
}
public class Derived extends Base
{
int i = -1;
public static void main(String argv[])
{
Base b = new Derived();
System.out.println(b.i);
b.amethod();
}
public void amethod()
{
System.out.println("Derived.amethod()");
}
}

8) public class Test{
public static void main(String argv[]){

Test1[] t1 = new Test1[10];
Test1[][] t2 = new Test1[5][];
if (t1[0] == null)
{
t2[0] = new Test1[10];
t2[1] = new Test1[10];
t2[2] = new Test1[10];
t2[3] = new Test1[10];
t2[4] = new Test1[10];
 }
 System.out.println(t1[0]);
 System.out.println(t2[1][0]);
 
 }
 }

9) import java.awt.*;
public class Butt extends Frame{
public static void main(String argv[]){
Butt MyBut=new Butt();
}
Butt(){
Button HelloBut=new Button("Hello");
Button ByeBut=new Button("Bye");
add(HelloBut);
add(ByeBut);
setSize(300,300);
setVisible(true);
}
}

10) class Base {}
class Sub extends Base {}
class Sub2 extends Base {}
public class CEx{
public static void main(String argv[]){
Base b=new Base();
Sub s=(Sub) b;
}
}

11) public class AQuestion
{
public void method()
{
for(int i = 0; i < 3; i++)
{
System.out.print(i);
}
System.out.print(i);
}
}

12) public class AQuestion
{
public static void main(String args[])
{
int a = 5;
System.out.println("Value is - " + ((a < 5) ? 9.9 : 9));
}
}

13)
public abstract class AQuestion {
public abstract void prmth1();
public static void prmth2() {
int mth2 = 30;
System.out.println("prmth2 = " + mth2);
}
public abstract void prmth3();
}

14) public class AQuestion
{
public static void main(String args[])
{
String river = new String("Columbia");
System.out.println(river.length());
}
}

15) public class AQuestion
{
public static void main(String args[])
{
System.out.println(4 | 3);

}

16) what is the range of byte?

17) class defination consists of
a) instance variables
b) instance methods
c) constructor
d) none

18) what is the difference b/w int and Integer?
a) Both r primitives
b) int is primivite and Integer is class
c) Integer does not exits
d) None

19) what is Garbage collection in Java?
a) its m/c dependent
b) once the obj references all lost then the memory of it is reclaimed
c) none
d) if none of the files on the system are not used then they r garbage collected

 




Join VYOM-JOBS and receive latest 2008 Placement Papers for FREE

Vyom Network     Privacy Policy

JobsAssist.com is a part of Vyom Network.

Vyom Network : Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | Delhi Info | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing


Placement Papers
Copyright ©2003-2008 Vyom Technologies, All Rights Reserved.
Page URL: http://www.jobsassist.com/placementpapers/amiti-placement-paper-1.asp

Download Yahoo Messenger | Job Interview Questions | Software Testing Tutorials | Winrunner Tutorial | Test Director Tutorial | C++ Projects