Skip to main content

JAVA

Language Fundamentals

 Introduction of Language Fundamentaals                    
Agenda :-
1. Introduction
2. Identifiers
  • Rules to define java identifiers

3. Reserved words:-

  •  Reserved words for data types: (8)
  •  Reserved words for flow control:(11)
  •  Keywords for modifiers:(11)
  •  Keywords for exception handling:(6)
  •  Class related keywords:(6)
  •  Object related keywords:(4)
  •  Void return type keyword
  •  Unused keywords
  •  Reserved literals
  •  Enum
  •  Conclusions
4. Data types:-
  •  Integral data types
  1. Byte
  2. Short
  3. Int
  4. long
  • Floating Point Data types
  • boolean data type
  • Char data type
  • Java is pure object oriented programming or not ?
  • Summary of java primitive data type
5. Literals:-
  • Integral Literals
  • Floating Point Literals
  • Boolean literals
  • Char literals
  • String literals
  • 1.7 Version  enhansements  with respect to Literals
  • Binary Literals
  • Usage of _ (underscore)symbol in numeric literals

6. Arrays:-

  1.  Introduction
  2.  Array declaration
  • Single dimensional array declaration
  • Two dimensional array declaration
  • Three dimensional array declaration 

3. Array construction

  • Multi dimensional array creation
4. Array initialization

5. Array declaration, construction, initialization in a single line.


6. length Vs length() method


7. Anonymous arrays


8. Array element assignments


9. Array variable assignments

Types of variables:-

  • Primitive variables
  • Reference variables
  • Instance variables
  • Static variables
  • Local variables
  • Conclusions

Un initialized arrays:

  • Instance level
  • Static level
  • Local level

Var arg method:-

  •  Single Dimensional Array Vs Var-Arg Method
Main method:-
  • 1.7 Version Enhansements with respect to main()
  • Command line arguments
Java coding standards:-
  • Coding standards for classes
  • Coding standards for interfaces
  • Coding standards for methods
  • Coding standards for variables
  • Coding standards for constants
  • Java bean coding standards
  • Syntax for setter method
  • Syntax for getter method
  • Coding standards for listeners
  • To register a listener
  • To unregister a listener
Various Memory areas present inside JVM 

  NEXT TOPIC: IDENTIFIERS IN JAVA


Comments

Popular posts from this blog

DIGITAL MARKETING

DIGITAL MARKETING END TERM PRACTICAL PAPERS:

Industry Ethics and Legal Issues MCQ Questions With Answer

ETHICS ALL POSSIBLE QUESTION - SET 1 Q1. Before 16 Jan, How many states were already working in Startup India policies? a) 1 b) 3 c) 4 d) 7 Q2. Which of the following is not a part of Funding Innovation? a) Incubation Center b) Startup Yatra Funds c) Research Parks d) Manak Q3. For R& D, human resource started a new scheme for students a) Tinkering labs b) Manak c) Avishkar yojana d) Uchhatar Avishkar yojana Q4. Startup India Scheme? 1. Age should not be more than 3 years 2. Should develop innovative product. 3. Must be Private Limited Company/ Registered Partnership firm/ Limited Liability Partnership 4. Has patent granted in areas affiliated with the nature of business being promoted a) 1, 3 6) 1,2 and3 c) 2, 3 and 4 d) All of the above Q5. The period of business when an entrepreneur must position the venture in a market and make necessary adjustments to assure survival is called the: a) pre-Startup stage b) Startup singe ...

DATA TYPES

DATA TYPES:- Every variable has a type, every expression has a type and all types are strictly define more over every assignment should be checked by the compiler by the type compatibility hence java language is considered as strongly typed programming language . Java is pure object oriented programming or not?     Java is not considered as pure object oriented programming language because several oops features (like multiple inheritance, operator overloading) are not supported by java moreover we are depending on primitive data types which are non objects.  Diagram:  Except Boolean and char all remaining data types are considered as signed data types because we can represent both "+ve" and"-ve" numbers.  Integral data types : Byte: Size:  1byte (8bits) Maxvalue:  +127  Minvalue: -128  Range: - 128to 127[ 2 7  to  2 7 -1] The most significant bit acts as sign bit. "0" means "+ve" number and...