• Home
  • About
  • Services
    • Mobile Solutions
    • Cloud Deployment Services
    • Web Solutions
    • Business Technology Consulting
    • Graphic Designs
    • Search Engine Optimization
    • Social Media Marketing
    • Software Training
  • Products
    • Visitor Master
    • Garage Master
    • Builder Master
    • Call Service Management
    • Invoice
  • Blog
  • Career
  • Contact
Get the Best Byte! Get the Best Byte! Get the Best Byte!
  • Home
  • About
  • Services
    • Mobile Solutions
    • Cloud Deployment Services
    • Web Solutions
    • Business Technology Consulting
    • Graphic Designs
    • Search Engine Optimization
    • Social Media Marketing
    • Software Training
  • Products
    • Visitor Master
    • Garage Master
    • Builder Master
    • Call Service Management
    • Invoice
  • Blog
  • Career
  • Contact

static Keyword

 Java Static Keyword Introduction
0
By Nithya Vasudevan
In static Keyword
Posted October 17, 2016

Java Static Keyword Introduction

It is a non-access modifier Static keyword can be applied to an instance variable or method. Applying to an instance variable makes that variable as a class variable. Both primitive and reference [...]

READ MORE
 Class (static) variables
0
By Nithya Vasudevan
In static Keyword
Posted October 17, 2016

Class (static) variables

Only instance variable can be marked with static keyword. Syntax: static variable declaration static data_type variableName; Where, is optional. Parameter and local variable cannot be marked with [...]

READ MORE
 Class (static) methods
0
By Nithya Vasudevan
In static Keyword
Posted October 17, 2016

Class (static) methods

If you have a requirement where the method’s behavior is independent of the state of the object then you go for static method. Static methods have several restrictions: They can only invoke other [...]

READ MORE
 Accessing static members
0
By Nithya Vasudevan
In static Keyword
Posted October 17, 2016

Accessing static members

To access instance variable/ method we use dot operator on the reference variable of the class. For example, to access the name instance variable of Student class, we create a reference variable [...]

READ MORE
 Static block
0
By Nithya Vasudevan
In static Keyword
Posted October 17, 2016

Static block

Static keyword can be applied to a block, { }, and they become static initialization block which runs only once when the class is first loaded by the JVM. This is used for initializing all the [...]

READ MORE
 Static and Inheritance
0
By Nithya Vasudevan
In static Keyword
Posted October 17, 2016

Static and Inheritance

Static members from superclass are not inherited to the sub class. Static methods cannot be overridden in the subclass. Same method can be redefined in the subclass, thus hiding the superclass [...]

READ MORE
 Summary
0
By Nithya Vasudevan
In static Keyword
Posted October 17, 2016

Summary

Static keyword can be applied to instance variable, instance method and inner classes. There is only one copy of static variable and all objects share them. Static variables are loaded and [...]

READ MORE
Products
  • Visitor Master
  • Garage Master
  • Builder Master
  • Call Service Management
  • Invoice
  • MicroLocal
Services
  • Mobile Solutions
  • Cloud Deployment Services
  • Web Solutions
  • Business Technology Consulting
  • Graphic Designs
  • Search Engine Optimization
  • Social Media Marketing
  • Software Training
STAY IN TOUCH
iByteCode Technologies
B10, Mogappair Industrial
Estate, Mogappair East,
Chennai, INDIA
Email: contact@ibytecode.com
Phone: +91 44 4385 1836
© 2024 iByteCode. ALL RIGHTS RESERVED. Privacy Policy Terms of Service