What are possible key words, we can use to declare a class?

Answer Posted / javamasque

public, abstract and final

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is main a keyword in java?

530


What are JVM.JRE, J2EE, JNI?

679


How to create a fecelet view?

548


How do you sort a set in java?

509


Is singleton class immutable?

530






What is the difference between overriding & overloading?

555


What is the difference between assignment and initialization?

546


What is natural ordering in java?

517


Can you write a java class that could be used both as an applet as well as an application?

511


How do you create a bulleted list?

554


What does int [] mean in java?

525


What is the difference between serializable and externalizable interface?

562


What is a wrapper method?

528


How do you decide when to use arraylist and linkedlist?

527


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

1404