What is difference between array and arraylist in java?
No Answer is Posted For this Question
Be the First to Post Answer
WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?
What is the constructor?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?
what is enumset?
Can we override the private methods?
What is a boolean in java?
which of tha following is not a thread safe class? a) ArrayList b)Vector c)HashTable d)None
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.
What is the preferred size of a component in java programming?
What is the significance of java packages?
Does sprintf allocate memory?