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...



Code Snippets Interview Questions
Questions Answers Views Company eMail

Code for Easily Using Hash Table?

3150

Code for Two Classes for Doing Gzip in Memory?

3321

Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?

Wipro,

3132

Code for Adding Message and Confirmation Boxes Using JavaScript?

1 5910

Create a ViewState Property?

TCS,

2770

Code for Document Validation in XML.NET?

TCS,

2440

Code for a Simple Way to Write XML in .NET (XmlTextWriter)

1 4766

How to Bind Nested XML to a Repeater Control with Container.DataItem?

3698

Code for Presenting Parent/Child Data in a Data Grid Row?

TCS,

2610

Code for Communicating over Sockets?

2446

How to use a Multidimensional SAFEARRAY to pass data across from COM objects ?

Infosys,

1 6708

Code for Adding Scripting Support to an Application?

1384

Code for using a Hot Key in an ActiveX Control?

1374

How to Link Different Data Sources Together?

2370

Code for Searching for Multiple Matches with the MatchCollection Class?

TCS,

3546


Un-Answered Questions { Code Snippets }

program for straight line(y=mx+c)

6076


can we pass variable in array to traverse it?

2472


Discuss an algorithm to traverse a tree, depth first.

1771


how to copy form data between different pages

2395


how exactly is the lngColour used?

2213


What is the functionality of SetForegroundWindow?

597


What is a valid XML document?

615


Write a Program to find the reverse of a given number.

898


plzzzzzzzzz xplain this code import java.awt.*; import java.awt.event.*; public class Agency extends Frame implements ActionListener { Label l1,l2,l3,l4; Button b1; TextField t1,t2; String s1,s2,s3,s4; public static void main(String args[]) { new Agency().setVisible(true); } public Agency() { super("Gas Agency Package"); setSize(1280,800); setBackground(Color.lightGray); setLayout(null); // setLayout(new BorderLayout()); t1=new TextField(20); t1.setBounds(440,150,200,30); t1.setBackground(Color.white); t2=new TextField(20); t2.setBounds(440,180,200,30); t2.setBackground(Color.white); t2.setEchoChar('*'); l1=new Label("Gas Agency Package"); l1.setBounds(400,30,300,50); l1.setFont(new Font("TimesRoman",Font.BOLD,25)); l1.setAlignment(Label.CENTER); l2=new Label("Enter your ID and Passoword"); l2.setFont(new Font("TimesRoman",Font.BOLD,20)); l2.setBounds(270,80,300,50); l3=new Label("Enter ID"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l3.setBounds(270,150,120,50); l4=new Label("Enter Passoword"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l4.setBounds(270,180,140,50); add(l1); add(l2); add(l3); add(t1); add(l4); add(t2); b1=new Button("Login"); b1.setBackground(Color.white); b1.setBounds(400,280,100,70); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { s3="svce"; s4="svce"; s1=t1.getText(); s2=t2.getText(); if(s1.equals(s3) && s2.equals(s4)) { //System.out.println("password is correct"); MenuForm m= new MenuForm(); m.setVisible(true); //this.dispose(); } else { System.out.println("password not correct"); } this.dispose(); } } } plzzzzzzzzz xplain this code

2017


write a program in java to solve a system of n-variabled simultaneous equations using the guassian elimination method. let the maximum possible value of n be 100. run the program using hypothetical values for a set of 10- variables simultaneous equations. print out the program, the input equation and the results generated by the program.

4846


How can I Draw an ellipse in 3d space and color it by using graph3d?

2723


Can someone please explain more about how the XML Gateway works and what its purpose is?

2383


Write a python program to count the number of digits in a number?

936


How do you set a global variable inside a function?

876


Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions.

5033