1.what is the exact difference between applet and frame?
2.Do we use main method in frames?
Answer Posted / lokhande pranali
There is one more diff in applet and frame that is applet does not support the native code but frame support the native code
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is an object’s lock and which object’s have locks?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
Explain about wait() method?
What is multithreading and its advantages?
What is a line separator in java?
Which number is denoted by leading 0x or 0x in java?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
When a byte datatype is used?
Write a java program for binary search?
What is jit compiler in java?
What are use cases?
Is list ordered in java?
Difference between == and .equals() ?
What is substring in java?
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)