Sunday, February 18, 2018

Java Basics


https://docs.oracle.com/javase/tutorial/java/index.html

Learning the Java Language

This trail covers the fundamentals of programming in the Java programming language.
trail iconObject-Oriented Programming Concepts teaches you the core concepts behind object-oriented programming: objects, messages, classes, and inheritance. This lesson ends by showing you how these concepts translate into code. Feel free to skip this lesson if you are already familiar with object-oriented programming.
trail iconLanguage Basics describes the traditional features of the language, including variables, arrays, data types, operators, and control flow.
trail iconClasses and Objects describes how to write the classes from which objects are created, and how to create and use the objects.
trail iconAnnotations are a form of metadata and provide information for the compiler. This lesson describes where and how to use annotations in a program effectively.
trail iconInterfaces and Inheritance describes interfaces—what they are, why you would want to write one, and how to write one. This section also describes the way in which you can derive one class from another. That is, how a subclass can inherit fields and methods from a superclass. You will learn that all classes are derived from the Object class, and how to modify the methods that a subclass inherits from superclasses.
trail iconNumbers and Strings This lesson describes how to use Number and String objects The lesson also shows you how to format data for output.
trail iconGenerics are a powerful feature of the Java programming language. They improve the type safety of your code, making more of your bugs detectable at compile time.
trail iconPackages are a feature of the Java programming language that help you to organize and structure your classes and their relationships to one another.

No comments:

Post a Comment

java special for collection size, array size, and string size

Size: For Collections (eg: Map, List, etc ): usually it use collection.size(), eg         Map<Character, Integer> map ...