Documents

95039766-Java-Notes-CSE-B.txt

Categories
Published
of 55
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Description
C++ : CUI GUI (Graphics) - Expensive Drawbacks : C++ suports Real World Programm ing. Means one program can be used in another computer. But with in the Geograph ical Area. C++ doesn't support for Web and Enterprise Level Applications SOLUTIO N J A V A 1990 James Ghosling, Peter Smith Project Name : Elctronic Consumers or Project Name : Project Green Idea : Communicate with other systems in d. Design ing using C++ Language 1991 Introduced a new Language called OAK OAK - Greek L atin word Ev
Transcript
  C++ : CUI GUI (Graphics) - Expensive Drawbacks : C++ suports Real World Programming. Means one program can be used in another computer. But with in the Geographical Area. C++ doesn't support for Web and Enterprise Level Applications SOLUTION J A V A 1990 James Ghosling, Peter Smith Project Name : Elctronic Consumers or Project Name : Project Green Idea : Communicate with other systems in d. Designing using C++ Language 1991 Introduced a new Language called OAK OAK - Greek Latin word Everything 1993 1994 1995 First time GUI based WWW appeared onto the computers through APPLETS New Java Web Browser, to support for execution of APPLETS. Called as HotJava Renamed to JAVA Java is a country name. Located between North Korea and South Korea. JAva location is famous for exporting other parts of the world 1997 1998 Advanced Networking Concepts are Advanced GUI applications to make java Coffee Beans to improved Portable. and JSP' the worl2000 Advanced Web Applications called Servlets s are introduced 2002 2003 Advanced Reusable Components called EJB's are introduced. Struts  2009AndroidJava Applications : CUI GUI Web Character User Interface Graphical User Interface Web applicationsMobile Mobile Devices Applications AI Artificial IntelligenseJava characterstics : 1. 2. 3. 4. 5. 6. 7. 8. 9. Simple Platform Independent Portable Robust or Faster Distributed Reliable and Scalable Multi Threaded Secured Compiler and InterpreterJava Architecture : 1. Java File 2. Class File .java -> Compiler -> .class -> Interpreter -> Hardware Byte Code Byte Code = ASCII + UNICODE ENGLISH + Asian Languages 3. Java Virtual Machine (JVM) Components of JVM : 1. 2. 3. 4. Class Loader Starts the Execution engine Just In time Compiler Garbage Collection i. Reference Collectors ii. Tracing Collectors iii. Compacting Collectors4. Application Programming Interface (API) .class Byte Code JVM API Java APIHarware Machine Code (0,1) Java Security Levels :  1. Compiler Level Security 2. Class Loader Security 3. Byte code Verifier Byte Code Verifier : 1. Checks for the Structure of the Programs 2. Checks for the validity of the Variables, Methods and es. Java Programming Constructs : 1. Variables Is a name, which holds a values Which can be changed during the Program executions. Every variable in Java, occupies into its respected memory x = 100; Types : a. Class Variables class a { var; } b. Instance Variables class A { for(a=0; { } } c. Local Variables class A { method() { var; } } d. Static Variables a = 100; a = 200 static a = 100; a = 100 2. Data Types : Defines the Type of data is being used. location Classnam  Types : i. Primitive or Fundamental Integer Group : byte short int long 1 2 4 8 Byte Bytes Bytes Bytes 0 0 0 0Floating Point Group : float 4 Bytes .123456 double 8 bytes .123456 123456 Boolean Group : boolean 1 bit Character Group : char 2 Bytes null 0/1ii. Abstract or Derived String 8 Bytes 3. Operators Operates on Operands Values of VariablesOperand : a + b i. UNARY a. unaryOperates on 1 - and ! a = 10 -a = 0-10= -10 a = true; !a = FALSEb. increment c. decrement PRE int a = 10; ++a; 1. 2. 3. Faster a = 10 + 1; a = 11;++ -POST int a = 10; a++; a = 10; a = 10 + 1; a = 11 Slower
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks