Answer Posted / jagdisg prajapati
java is a pure object oriented language because all
applications are created inside the class in java. We can
not create structure in java but structure are created in c++.
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Can we serialize static variables in java?
What is functional interface in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
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 java reflection api?
What is the difference between an object-oriented programming language and object-based programming language?
What is java dot?
Why can't we make a class private in java?
What is function and method in java?
What is meant by final class?
Is node a data type in java?
Is main an identifier?
What is passing value java?
Is there any difference between nested classes and inner classes?
What is difference between wait and notify in java?