Answer Posted / aatish maskariya
c++ supports one more type of variable called reference
variable.In addition to pointer variable and value variable
of creference variable behaves similar to both vaule
variable and pointer variable.reference variable has all
acces that variable has.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Is cout buffered?
Explain the difference between abstract classes and interfaces in java?
How to compare two strings in java program?
How will you add panel to a frame?
Why collection is called framework in java?
Is 0 a prime number?
What is character in data type?
How do you delete a list in java?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is xslt in java?
Explain the usage of this with constructors?
What is token in java?
What is array and arraylist in java?
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.
Why is logger singleton?