Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
difference between hashmap and hash tablehashmapit allow us to have null values and also one null keyit is unsynchronizediterator in hashmap is
how do you decide when to use hashmap and when to use treemapwhen we want to perform deletion insertion and locate elements in a map then hashmap is
explain the both hashset and treesethashset is an unordered unsorted setits a collection set which restrict duplicate elements and also repositioning
what is the set interfacea set interface is collection of element that cant be duplicatedset interface comprise methods inherited from collectionit
what is an appletsapplets these are small java programsthey can send from one to another computer over internet by using applet viewer which supports
describe life cycle of threadthreads follow the single flow of control a thread is execution in a program the life cycles of threads are listed
explain the user defined exceptionsuser defined exceptions are the exceptions which are defined by user for specific purposed this enables custom
what are the list interface and its main implementationlist helps in collections of objects lists may include duplicate elements main implementations
what is constructora constructor is used to initialize a newly created object its called just after memory is allocated for the object it can be used
what are access specifiers available in javajava has four access specifiers which are enlisted belowpublic public methods classes and fields can be
super constructerit is used to call constructor of parent classshould be the first statement in the body of constructorusing this we can access
how are this and super used with constructorsthis constructors is used to pointing current class instancecan be used with methods or variablesused
what is an immutable objectan immutable object is one that we cant change once its created steps involved in creation of an immutable object aremake
explain garbage collectionjava uses garbage collection to free the memory by cleaning those objects which is no longer reference by any of the
describe polymorphismpolymorphism can be referred as one name many forms its the ability of methods to behave differently depending upon object who
how can we increase the execution time of a php scriptby the use of void settimelimitint secondsset number of seconds a script is allowed to run if
what are the different types of statements which are present in phpthere are four types of php statements which are present they are as followsbull
how php statement is different from php scriptdifference between php script and php statement is that statements are set of instructions which tell
why ide is recommended for use when programming with phpide stands for integrated development environment its a framework for developing applications
develop a program read the following information from the keyboard in which base class consist of employee name code and destingnation the derived
what is the difference between echo print and printfecho is the basic type used to print out a string it just illustrates the content of message
what are the steps involved to run phpthe steps that are involved and required to run php is as follows1 set up web environment2 set up web servers
php being an open source is there any support available to itphp is an open source language and its been said that it has very less support online
how the web server interprets php and interacts with the clientafter installing and configuring php web when php is installed web server looks for
what is difference between requireonce require includerequire includes and evaluates a specific file if file isnt found then it shows a fatal