IT. Expert System.

Java basics

abstract


The abstract keyword may modify a class or a method. An abstract class can be extended (subclassed) but cannot be instantiated directly. An abstract method is not implemented in the class in which it is declared, but must be overridden in some subclass. The abstract keyword cannot be applied to methods that are static, private or final, since such methods cannot be overridden and therefore cannot be implemented in subclasses. No methods of a final class may be abstract since a final class cannot be subclassed.

Syntax:
access_specifier abstract class class_name
{
//body
}


Example:

public abstract class MyClass
{
}
public abstract String myMethod();


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 978 / 159176086. Delta: 0.00286 с