Skip to content

blackdogcode/JAVAMaestro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

References

00. Tools and Tips

Learn Java Step

02. Basics

03. Input and Output

04. Operators in Java

  • java.lang package
  • Provides classes that are fundamental to the design of the Java programming language. The most important classes are Object, which is the root of the class hierarchy, and Class, instances of which represent classes at run time.

  • java.io package
  • This package provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown.

  • java.util package
  • It contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).

  • A Guide to Java 9 Modularity - package of Java Packages

06. Input and Output

08. Constructors

  • Constructors in Java
    • A constructor in Java can not be abstract, final, static and Synchronized
    • Access modifiers can be used in constructor declaration to control its access i.e which other class can call the constructor
    • There are no “return value” statements in constructor, but constructor returns current class instance
  • Copy Constructor in Java
    • unlike C++, Java doesn’t create a default copy constructor if you don’t write your own

09. Arrays

00. Important Keywords

00. Interfaces and Abstract Classes

Exception Hierarchy Hierarchy of the Collection Framework

00. File Handling

00. Garbage Collection

00. Wrapper Class

00. Useful and/or Advanced Features

  • Annotations in Java
    • Annotations do not change action of a compiled program.
    • Annotations help to associate metadata (information) to the program elements i.e. instance variables, constructors, methods, classes, etc.
    • Annotations are not pure comments as they can change the way a program is treated by compiler.
      Built-In Annotation
    • @Retention, @Documented, @Target, and @Inherited
    • @Deprecated, @Override and @SuppressWarnings
  • Serialization and Deserialization in Java with Example

00. Design Pattern

Releases

No releases published

Packages

No packages published