Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
differentiate between primitives and objects everything in java is an object as every class by default inherits from class object except a few
determine how many arguments were passed using length propertyin java array knows their size by using the length property by using length property we
taking in command line argumentsin java the program can be written to accept command-line-argumentsexample code command-line arguments
explain the term- comparing stringsfor comparing strings never use operator use equals method of string class- operator compares addresses shallow
what is the string concatenation operator is employed to concatenate strings- systemoutpritln hello world will print hello world on consolestring
explain the term- stringsa string is generally considered to be a sequence of characters stored in memory and accessible as a unitstrings in java are
explain the execute phase of java program development finally in phase computer under the control of its cpu interprets program one bytecode at a
state the verify phase of java program development before the bytecodes in an application are executed by the java interpreter they are verified by
determine the phase loading- java program development in phase 3 the program must first be placed in memory before it can be executed this is done by
explain the phase compile- java program development in phase 2 programmer gives the command javac to compile the program java compiler translates the
describe the edit phase- java program development phase comprises editing a file this is done with an editor program programmer types a java program
execution process of java bytecodejvm are available for almost every operating systemjava bytecode is executed by employing any operating systems jvm
java virtual machine amp runtime environmentbasic conceptwhen you write a program in c its called source code c compiler converts this source code
java is for realjava has a lot of hype however much of it is deserved java is very well matched for many modern problemsusing more cpu time and
relate in brief - microsoft vs javamicrosoft hates java as a java program portable isnt tied to any particular operating system if java is popular
java is object oriented programme language java is comprehensively oop language with robust memory systemmemory errors largely disappear due to safe
state the java programmer efficiencyfaster developmentbuilding an application in java takes about 50 less time than in c or c so faster time to
determine the java compiler structuresource code for every class is in a java file compile every class to produce -class filesometimes multiple class
dynamic javaclass and type information is kept around at runtimethis allows runtime loading and inspection of code in a very flexible
explain the concept of multi-threaded- javajava has a concept of concurrency wired right in to the language itselfthis works out more cleanly than
relate java with jvmjava performance gets better each year as jvm gets smarter this works since making jvm smarter doesnt require any great change to
state about the performance of javafirst versions of java were pretty slowjava performance has gotten a lot better with aggressive
support for web and enterprise web applicationsjava offers an extensive support for the development of web and enterprise applications servlets jsp
determine about the runtime security managerjava also has a runtime security manager can check which operations a specific piece of code is allowed
name the common bugs which are not possible in javamany common bugs and security problems such as buffer overflow are not possible in java checks