Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
i am having trouble with the code below because i am trying to call the text field input type so that whenever someone enters a number above 10 it
define enumerationenumeration is explained as values type that having of a set of named values these values are constants and are called enumerators
what is a multicast delegateevery delegate object holds reference to a single method though it is possible for a delegate object to hold references
how is method overriding different from method overloadingoverriding involves the creation of two or more concepts with the same name and same
what will be the default values of all the elements of an array explained as an instance variableif the array is an array of primitive types then all
difference between hash map and hash tablethe hashmap class is roughly equivalent to hashtable except that it is unsynchronized and allows nulls
what are the different scopes for java variablesthe scope of a java variable is explained by the context in which the variable is declared therefore
what are synchronized methods and synchronized statementssynchronized methods are methods that are used to control access to an object a thread only
what is the difference between static and non-static variablesa static variable is associated with the class as a whole rather than with specific
what is the difference between preemptive scheduling and time slicingunder preemptive scheduling the highest priority task executes unless it enters
what is synchronization and why is it importantwith respect to multithreading synchronization is the potential to control the access of multiple
how does an exception permeate through the codean unhandled exception moves up the method stack in search of a matching when an exception is thrown
why do we need wrapper classesit is sometimes simpler to deal with primitives as objects moreover most of the collection classes keep objects and not
what are wrapper classesjava gives specialized classes corresponding to every of the primitive data types these are known as wrapper classesthey are
what happens to the static fields of a class during serializationthere are three exceptions in which serialization does not necessarily read and
what is externalizable interfaceexternalizable is an interface which have two methods readexternal and writeexternal these methods give you a control
what is overridingwhen a class explains a method using the similar name return type and arguments as a method in its superclass the method in the
what are checked and unchecked exceptiona checked exception is some subclass of exception or exception itself excluding class runtimeexception and
what is final classa final class cant be extended ie final class might not be subclassed a final method cant be overridden when its class is
what is static in javastatic means one per class not one for each object no matter how many example of a class might exist this means that you can
state the significance of public private protected default modifiers both singly and in combination and state the effect of package relationships on
what is an iteratorsome of the collection classes give traversal of their contents via a javautiliterator interface this interface permits you to
explain different way of using threadthe thread could be executed by using runnable interface or by inheriting from the thread classthe former is
what is the difference between an interface and an abstract classan abstract class can have instance methods that execute a default behavior an
what is an abstract classabstract class must be extendedsubclassed to be useful it serves as a template a class that is abstract may not be