Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
why processing an unknown number of parameters most of the time you have a fairly high-quality idea of what parameters will and wont be passed to
how to passing parameters to applets parameters are passed to applets in namevalue pairs in ltparamgt tags among the opening and closing applet tags
finding an applets sizewhen running inside a web browser the size of an applet is set through the height and width attributes and cannot be changed
explain jar archives http 10 uses a separate connection for every request when youre downloading several small files the time required to set up and
explain what is naming applets in java appletsyou can give an applet a name by using the name attribute of the applet element this allows
what is alternate text the applet element can have an alt attribute an alt attribute is used through a browser which understands the applet tag but
explain the applet in javathe reason people are excited about java as more than just another oop language is because it allows them to write
write a java class that generates a random integer between 1 and 250 call the class genkeys genkeys should have a least one method that returns the
what is resuscitation trolley explain their featuresa proper resuscitation kit is mandatory for the icu in addition to trolleys that can be moved
how to write exception subclasses most exception subclasses inherit all their functionality from the superclass each subclass majorly serves as a
what is the use of throws keyword rather than explicitly catching an exception you can declare in which your method throws the exception this passes
how to catch multiple exceptions explain with exampleif multiple blocks match the exception type the first block in which matches the kinds of the
explain the different kinds of exceptions checked exceptions environmental error in which cannot necessarily be detected through testing eg
what can you do with an exception once youve caught it1fix the difficulty and try again 2do anything else instead 3exit the application along with
explain try and catch exception in javawhy use exceptions instead of return values 1forces error checking 2cleans up your code through separating the
what is an exceptions bullwhat is an exception bulltry-catch bullfinally bullthe different kinds of exceptions bullmultiple catch clauses bullthe
explain javautilrandom packagethe javautilrandom class permits you to create objects which generates pseudo-random numbers along with uniform or
explain javalangstring library in javastrings are objects specifically theyre instances of the class javalangstring this class has several methods
describe inner classes in javaan inner class is a class whose body is described inside another class referred to as the top-level class for instance
what is runnable jar archivesyou can run a program stored within the jar archive that has a main method like this java -cp eharoldjar
what is jar archivesjar archives are zip archives along with a different extension they contain a hierarchy of files and directories in spirit a jar
explain the term naming packages in detailsas you saw previously name space conflicts arise if two pieces of code declare the similar name java
how to wrapping your own packages in javajava does not limit you to using just the system supplied packages you can write your own as well you write
how to implementing the cloneable interfacethe javalangobject class contains a clone method which returns a bitwise copy of the current object
how to implementing interfaces in javato actually utilize this interface you create a class that involves a public double calculatetariff method and