What defines function?
No Answer is Posted For this Question
Be the First to Post Answer
Why do you canvas?
Infinite loop using while ?
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?
Why java is considered as platform independent?
What is the difference between interpreter and compiling ?
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.
Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.
Why java uses the concept of the string literal?
What do you mean by flow of struts?
How strings are created in java?
What is the use of default method in interface in java?
what is the reason behind non static method cannot be referenced from a static Context?