Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Topic :: Class





Class Interview Questions
Questions Answers Views Company eMail

To which class you load XML or Related Data

1 3168

Which class provides methods that can be used to manage role membership to be used in user authorization?

Wipro,

3 6489

what is diff bet ref variable & instance of class

2020

I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.

Oracle,

2 16648

In ActionClass we can use only one action i.e execute(), but in DispatchAction we can use multiple actions.My question is , we can use multiple actions in Action class if(action.equals("add") if(action.equals("update"). Then when to use Action and DispatchAction which is frequently in webapplications.

2 6524

What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose.

Infosys, Tech Mahindra,

2 20287

Consider that class classA, abstract class classB, and final classC have been defined.Which one of the following is correct? 1. classA extends classC implements classB 2. class A extends classB, classC 3. classA extends classB 4. classB implements classC

2 5360

Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

2067

3.2 Consider the following class: public class Point { protected int x, y; public Point(int xx, int yy) { x = xx; y = yy; } public Point() { this(0, 0); } public int getx() { return x; } public int gety() { return y; } public String toString() { return "("+x+", "+y+")"; } } Say you wanted to define a rectangle class that stored its top left corner and its height and width as fields. 3.2.1 Why would it be wrong to make Rectangle inherit from Point (where in fact it would inherit the x and y coordinates for its top left corner and you could just add the height and width as additional fields)? (1) 8 Now consider the following skeleton of the Rectangle class: public class Rectangle { private Point topLeft; private int height, width; public Rectangle(Point tl, int h, int w) { topLeft = tl; height = h; width = w; } public Rectangle() { this(new Point(), 0, 0); } // methods come here } 3.2.2 Explain the no-argument constructor of the Rectangle class given above. 3.2.3 Write methods for the Rectangle class to do the following: • a toString() method that returns a string of the format "top left = (x, y); height = h; width = w " where x, y, h and w are the appropriate integer values. • an above() method that tests whether one rectangle is completely above another (i.e. all y values of the one rectangle are greater than all y values of the other). For example, with the following declarations Rectangle r1 = new Rectangle(); Rectangle r2 = new Rectangle(new Point(2,2), 1, 4); the expression r2.above(r1) should give true, and r2.above (r2) should give false. (You can assume that the height of a rectangle is never negative.) (2) (5)

2992

what is the difference between 5P20 class CT , PS Class CT and 5P10 class CT??

5 149944

Can you make an instance of an abstract class?

Accenture,

5 8092

where singleton classes are used in j2ee web application.can we use it for connection pooling.

1 3492

Is class is a abstract datatype in java?

1994

a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?

CTS,

2 4543

How to write message without using message class in report? How to go to edit mode in classical display report, means that how to edit one of the column after displaying classical report, not in ALV.

Wipro,

1 7547




Un-Answered Questions { Class }

Can you give names of Container classes?

2321


What is the SimpleTimeZone class?

2294


Highest level event class of the event-delegation model?

4022


Name the class that is used to bind the server object with RMI Registry?

2185


What class is used to create Server side object ?

2268


What are the steps to create classes?

2175


Tell me the Importent classes in net package?

2013


What are the scope of the class?

2019


You been asked to prepare a training class for completing expense statements. What points will you emphasize to insure accurate expense statements are submitted?

2319


what is the basic difference in the formation of spores in subclasses basidiomycetes and ascomycetes?

2339


how we can know the funcions available in a class recording java?

2247


Difference between Class Module and Standard Module?

2640


How would you create properties by using class Builder Wizard?

2006


Can DES be used to protect classified information?

1776


A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?

2525